Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 112.7 kB / 16.64 MB, free: 6.93 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.001731/0.001731, allocations: 186.5 kB / 17.56 MB, free: 6.039 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.385/1.385, allocations: 205.1 MB / 223.4 MB, free: 12.47 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.222/0.222, allocations: 43.52 MB / 314.3 MB, free: 0.7031 MB / 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.001698/0.001698, allocations: 72.83 kB / 382.9 MB, free: 56.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1249, allocations: 57.79 MB / 440.7 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.007567/0.1325, allocations: 7.67 MB / 448.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005294/0.1379, allocations: 2.326 MB / 450.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001356/0.1393, allocations: 31.88 kB / 450.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004247/0.1435, allocations: 1.708 MB / 452.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002958/0.1465, allocations: 0.8042 MB / 453.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002294/0.1488, allocations: 0.8126 MB / 454 MB, free: 9.938 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002423/0.1512, allocations: 1.425 MB / 455.4 MB, free: 8.504 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002077/0.1533, allocations: 1.133 MB / 456.6 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.1544, allocations: 0.615 MB / 457.2 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.1556, allocations: 0.747 MB / 457.9 MB, free: 5.984 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004027/0.156, allocations: 112 kB / 458 MB, free: 5.875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009835/0.157, allocations: 327.8 kB / 458.4 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003898/0.1574, allocations: 306.9 kB / 458.7 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001135/0.1585, allocations: 0.6763 MB / 459.3 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001713/0.1603, allocations: 1.368 MB / 460.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1603, allocations: 0 / 460.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1603, allocations: 4 kB / 460.7 MB, free: 3.199 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.995e-05/0.1604, allocations: 0 / 460.7 MB, free: 3.199 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: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.008141/0.1685, allocations: 2.409 MB / 463.1 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.08e-05/0.1686, allocations: 11.89 kB / 463.1 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/0.1797, allocations: 1.49 MB / 464.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.1809, allocations: 0.613 MB / 465.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.733e-05/0.181, allocations: 103.1 kB / 465.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002144/0.1812, allocations: 140.3 kB / 465.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002671/0.1839, allocations: 1.527 MB / 467 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.636e-05/0.184, allocations: 0 / 467 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.1841, allocations: 56 kB / 467.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-05/0.1841, allocations: 40 kB / 467.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00251/0.1867, allocations: 1.58 MB / 468.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007727/0.1944, allocations: 5.55 MB / 474.2 MB, free: 5.254 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002424/0.1969, allocations: 2.378 MB / 476.6 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009562/0.1978, allocations: 0.6617 MB / 477.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001506/0.198, allocations: 106.1 kB / 477.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.198, allocations: 55.48 kB / 477.4 MB, free: 1.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=129): time 3.717e-06/0.1981, allocations: 4 kB / 477.4 MB, free: 1.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=129): time 0.009012/0.2071, allocations: 3.16 MB / 480.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.2071, allocations: 94.14 kB / 480.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006588/0.2078, allocations: 477.9 kB / 481.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.032e-05/0.2079, allocations: 49.7 kB / 481.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000328/0.2083, allocations: 487.2 kB / 481.7 MB, free: 13.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003752/0.2086, allocations: 429.7 kB / 482.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003748/0.209, allocations: 230.8 kB / 482.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.2092, allocations: 382.8 kB / 482.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008538/0.2101, allocations: 467.1 kB / 483.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/0.2111, allocations: 0.7481 MB / 483.9 MB, free: 11.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001877/0.213, allocations: 1.255 MB / 485.1 MB, free: 9.711 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/0.213, allocations: 8 kB / 485.2 MB, free: 9.703 MB / 366.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003017/0.216, allocations: 1.665 MB / 486.8 MB, free: 8.027 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.2161, allocations: 8 kB / 486.8 MB, free: 8.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/0.2161, allocations: 11.94 kB / 486.8 MB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001567/0.2177, allocations: 0.5362 MB / 487.4 MB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008169/0.2185, allocations: 215.6 kB / 487.6 MB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002381/0.2187, allocations: 57.19 kB / 487.6 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008173/0.2196, allocations: 130.6 kB / 487.8 MB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.2197, allocations: 52 kB / 487.8 MB, free: 7.023 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0004687/0.2202, allocations: 289.4 kB / 488.1 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002268/0.2204, allocations: 83.05 kB / 488.2 MB, free: 6.648 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002736/0.2231, allocations: 1.575 MB / 489.8 MB, free: 5.062 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.2232, allocations: 12 kB / 489.8 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.2232, allocations: 0 / 489.8 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/0.2232, allocations: 11.97 kB / 489.8 MB, free: 5.039 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004693/0.2279, allocations: 2.908 MB / 492.7 MB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/0.2279, allocations: 0 / 492.7 MB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006316/0.2286, allocations: 139.8 kB / 492.8 MB, free: 1.926 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001422/0.23, allocations: 0.5301 MB / 493.4 MB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.6e-05/0.2301, allocations: 24 kB / 493.4 MB, free: 1.371 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.145e-05/0.2302, allocations: 24.84 kB / 493.4 MB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.2302, allocations: 4 kB / 493.4 MB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003649/0.2339, allocations: 2.304 MB / 495.7 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004387/0.2343, allocations: 287.6 kB / 496 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.2345, allocations: 24 kB / 496 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000665/0.2352, allocations: 52.03 kB / 496.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001992/0.2354, allocations: 73.2 kB / 496.1 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.242e-05/0.2355, allocations: 40 kB / 496.2 MB, free: 14.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004043/0.2359, allocations: 314.9 kB / 496.5 MB, free: 14.22 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2359, allocations: 4 kB / 496.5 MB, free: 14.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001085/0.237, allocations: 347.1 kB / 496.8 MB, free: 13.88 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003193/0.2373, allocations: 163.1 kB / 497 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003545/0.2409, allocations: 1.434 MB / 498.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.2409, allocations: 0 / 498.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001712/0.2426, allocations: 0.7673 MB / 499.2 MB, free: 11.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007584/0.2434, allocations: 102.2 kB / 499.3 MB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004189/0.2476, allocations: 2.676 MB / 0.4902 GB, free: 8.699 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006695/0.2482, allocations: 1.052 MB / 0.4912 GB, free: 7.621 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002693/0.2485, allocations: 79.41 kB / 0.4913 GB, free: 7.543 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2485, allocations: 0 / 0.4913 GB, free: 7.543 MB / 382.1 MB Notification: Performance of Templates: time 0.02299/0.2715, allocations: 16.72 MB / 0.5076 GB, free: 6.781 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches