Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 107.9 kB / 17.03 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 190.9 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.941/1.941, allocations: 205.1 MB / 223.8 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2651/0.2651, allocations: 43.52 MB / 314.7 MB, free: 480 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 67.05 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1411, allocations: 57.79 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.006775/0.148, allocations: 6.924 MB / 448.9 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00464/0.1526, allocations: 2.19 MB / 451.1 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006232/0.1533, allocations: 20 kB / 451.1 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003548/0.1569, allocations: 1.524 MB / 452.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002315/0.1592, allocations: 0.8547 MB / 453.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.1606, allocations: 0.5855 MB / 454.1 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001435/0.162, allocations: 1.183 MB / 455.2 MB, free: 8.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/0.1632, allocations: 0.8081 MB / 456 MB, free: 7.992 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006335/0.1638, allocations: 486.1 kB / 456.5 MB, free: 7.516 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006131/0.1645, allocations: 0.6146 MB / 457.1 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.1646, allocations: 96 kB / 457.2 MB, free: 6.805 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006933/0.1653, allocations: 283.8 kB / 457.5 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001951/0.1655, allocations: 259 kB / 457.8 MB, free: 6.273 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004641/0.166, allocations: 0.5674 MB / 458.3 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001515/0.1675, allocations: 1.475 MB / 459.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1675, allocations: 0 / 459.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1675, allocations: 0 / 459.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.405e-05/0.1675, allocations: 0 / 459.8 MB, free: 4.223 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.003927/0.1715, allocations: 1.702 MB / 461.5 MB, free: 2.469 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.1715, allocations: 15.89 kB / 461.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009658/0.1812, allocations: 1.424 MB / 462.9 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.1826, allocations: 0.5601 MB / 463.5 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.631e-05/0.1827, allocations: 94.48 kB / 463.6 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002074/0.1829, allocations: 120 kB / 463.7 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002401/0.1853, allocations: 1.189 MB / 464.9 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.331e-05/0.1854, allocations: 7.906 kB / 464.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.1855, allocations: 48 kB / 465 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.494e-05/0.1856, allocations: 32 kB / 465 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002527/0.1881, allocations: 1.439 MB / 466.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008308/0.1964, allocations: 4.807 MB / 471.2 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001986/0.1984, allocations: 1.2 MB / 472.4 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006124/0.1991, allocations: 371.7 kB / 472.8 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001403/0.1992, allocations: 102.1 kB / 472.9 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/0.1993, allocations: 39.56 kB / 472.9 MB, free: 6.551 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 2.875e-06/0.1993, allocations: 0 / 472.9 MB, free: 6.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=91): time 0.002489/0.2018, allocations: 1.198 MB / 474.1 MB, free: 5.301 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.39e-05/0.2019, allocations: 72.33 kB / 474.2 MB, free: 5.219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.2031, allocations: 0.7973 MB / 475 MB, free: 4.414 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.74e-05/0.2031, allocations: 41.7 kB / 475 MB, free: 4.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004301/0.2036, allocations: 478.7 kB / 475.5 MB, free: 3.891 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003256/0.2039, allocations: 311.5 kB / 475.8 MB, free: 3.582 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003664/0.2043, allocations: 198.8 kB / 476 MB, free: 3.379 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002814/0.2046, allocations: 394.7 kB / 476.4 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006635/0.2053, allocations: 346.5 kB / 476.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009337/0.2062, allocations: 0.6062 MB / 477.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.2077, allocations: 0.9788 MB / 478.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.2077, allocations: 0 / 478.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001969/0.2097, allocations: 1.174 MB / 479.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.2097, allocations: 8 kB / 479.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.2098, allocations: 8 kB / 479.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003326/0.2101, allocations: 69.61 kB / 479.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.2111, allocations: 259.6 kB / 479.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002472/0.2136, allocations: 2.84 MB / 482.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008586/0.2145, allocations: 150.2 kB / 482.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-05/0.2146, allocations: 44 kB / 482.9 MB, free: 11.99 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000423/0.215, allocations: 262.2 kB / 483.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.2152, allocations: 90.95 kB / 483.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001899/0.2171, allocations: 1.107 MB / 484.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.2171, allocations: 8 kB / 484.3 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2171, allocations: 0 / 484.3 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.2171, allocations: 7.922 kB / 484.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003836/0.221, allocations: 2.729 MB / 487.1 MB, free: 7.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.221, allocations: 11.94 kB / 487.1 MB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006908/0.2217, allocations: 179.7 kB / 487.2 MB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002165/0.2219, allocations: 66.23 kB / 487.3 MB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.306e-05/0.222, allocations: 28 kB / 487.3 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002259/0.2242, allocations: 2.816 MB / 490.1 MB, free: 4.141 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.241e-05/0.2243, allocations: 11.94 kB / 490.2 MB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00226/0.2265, allocations: 1.481 MB / 491.6 MB, free: 2.555 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002955/0.2268, allocations: 195.9 kB / 491.8 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.227, allocations: 35.92 kB / 491.9 MB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006003/0.2276, allocations: 47.98 kB / 491.9 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.2277, allocations: 80.44 kB / 492 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.958e-05/0.2278, allocations: 36 kB / 492 MB, free: 2.148 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007036/0.2285, allocations: 0.5615 MB / 492.6 MB, free: 1.594 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2285, allocations: 0 / 492.6 MB, free: 1.594 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001103/0.2296, allocations: 295.4 kB / 492.9 MB, free: 1.305 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003884/0.23, allocations: 167 kB / 493 MB, free: 1.129 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002168/0.2322, allocations: 1.093 MB / 494.1 MB, free: 4 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/0.2322, allocations: 0 / 494.1 MB, free: 4 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.2332, allocations: 0.6327 MB / 494.8 MB, free: 15.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007783/0.234, allocations: 118.8 kB / 494.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003744/0.2378, allocations: 1.814 MB / 496.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006922/0.2385, allocations: 0.9999 MB / 497.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000578/0.2391, allocations: 155.6 kB / 497.8 MB, free: 12.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/0.2393, allocations: 79.42 kB / 497.9 MB, free: 12.05 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.2393, allocations: 0 / 497.9 MB, free: 12.05 MB / 382.1 MB Notification: Performance of Templates: time 0.02044/0.2598, allocations: 10.35 MB / 0.4964 GB, free: 1.746 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches