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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.1 MB / 222.5 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 109.4 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4102/0.4102, allocations: 43.49 MB / 360.7 MB, free: 51.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 47.92 kB / 429.2 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.131, allocations: 57.76 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.008969/0.14, allocations: 7.676 MB / 494.7 MB, free: 4.828 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005032/0.1451, allocations: 2.353 MB / 497 MB, free: 2.465 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001568/0.1467, allocations: 31.94 kB / 497.1 MB, free: 2.434 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004321/0.1511, allocations: 1.697 MB / 498.8 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002863/0.1539, allocations: 0.8165 MB / 499.6 MB, free: 15.91 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002255/0.1562, allocations: 0.8262 MB / 0.4887 GB, free: 15.08 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002333/0.1585, allocations: 1.389 MB / 0.49 GB, free: 13.68 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001877/0.1604, allocations: 0.9055 MB / 0.4909 GB, free: 12.76 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.1616, allocations: 0.5876 MB / 0.4915 GB, free: 12.17 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001277/0.1629, allocations: 0.7274 MB / 0.4922 GB, free: 11.44 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004694/0.1634, allocations: 84 kB / 0.4923 GB, free: 11.36 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001211/0.1646, allocations: 295.8 kB / 0.4926 GB, free: 11.07 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004359/0.165, allocations: 270.9 kB / 0.4928 GB, free: 10.8 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001076/0.1661, allocations: 0.6412 MB / 0.4934 GB, free: 10.16 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002257/0.1684, allocations: 1.709 MB / 0.4951 GB, free: 8.441 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1684, allocations: 0 / 0.4951 GB, free: 8.441 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1684, allocations: 0 / 0.4951 GB, free: 8.441 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.161e-05/0.1685, allocations: 0 / 0.4951 GB, free: 8.441 MB / 394.7 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.007785/0.1763, allocations: 2.404 MB / 0.4975 GB, free: 5.984 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.1764, allocations: 8.031 kB / 0.4975 GB, free: 5.977 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009555/0.1859, allocations: 1.494 MB / 0.4989 GB, free: 4.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.1873, allocations: 0.6091 MB / 0.4995 GB, free: 3.828 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.1874, allocations: 107 kB / 0.4996 GB, free: 3.723 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002183/0.1876, allocations: 140.3 kB / 0.4998 GB, free: 3.586 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002943/0.1906, allocations: 1.531 MB / 0.5013 GB, free: 2.012 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.887e-05/0.1906, allocations: 0 / 0.5013 GB, free: 2.012 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/0.1908, allocations: 56 kB / 0.5013 GB, free: 1.957 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.639e-05/0.1908, allocations: 43.88 kB / 0.5014 GB, free: 1.914 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002625/0.1934, allocations: 1.58 MB / 0.5029 GB, free: 336 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3082/0.5016, allocations: 5.543 MB / 0.5083 GB, free: 55.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00256/0.5043, allocations: 2.359 MB / 0.5106 GB, free: 53.95 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.5055, allocations: 0.6653 MB / 0.5113 GB, free: 53.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001877/0.5057, allocations: 103.4 kB / 0.5114 GB, free: 53.55 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.18e-05/0.5057, allocations: 49.97 kB / 0.5114 GB, free: 53.5 MB / 394.7 MB Notification: Performance of pre-optimization done (n=129): time 5.921e-06/0.5057, allocations: 0 / 0.5114 GB, free: 53.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=129): time 0.009846/0.5156, allocations: 3.162 MB / 0.5145 GB, free: 52.54 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.5157, allocations: 89.86 kB / 0.5146 GB, free: 52.45 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006024/0.5163, allocations: 487.8 kB / 0.515 GB, free: 52.21 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.994e-05/0.5164, allocations: 47.42 kB / 0.5151 GB, free: 52.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003324/0.5167, allocations: 486.9 kB / 0.5156 GB, free: 51.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003234/0.517, allocations: 430 kB / 0.516 GB, free: 51.47 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003639/0.5174, allocations: 227.2 kB / 0.5162 GB, free: 51.35 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.5176, allocations: 385.8 kB / 0.5165 GB, free: 51.01 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009005/0.5185, allocations: 458.9 kB / 0.517 GB, free: 50.83 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009831/0.5195, allocations: 0.7518 MB / 0.5177 GB, free: 50.31 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001815/0.5213, allocations: 1.25 MB / 0.5189 GB, free: 49.49 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.5213, allocations: 3.953 kB / 0.5189 GB, free: 49.49 MB / 394.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002766/0.5241, allocations: 1.673 MB / 0.5206 GB, free: 48.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.5241, allocations: 9.594 kB / 0.5206 GB, free: 48.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/0.5242, allocations: 9.594 kB / 0.5206 GB, free: 48.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001536/0.5257, allocations: 0.5296 MB / 0.5211 GB, free: 48.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007807/0.5265, allocations: 212.6 kB / 0.5213 GB, free: 48.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002163/0.5267, allocations: 51.83 kB / 0.5214 GB, free: 48.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008745/0.5276, allocations: 137.8 kB / 0.5215 GB, free: 48.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.5277, allocations: 56.09 kB / 0.5216 GB, free: 48.45 MB / 394.7 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.0006134/0.5283, allocations: 288.8 kB / 0.5218 GB, free: 48.21 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/0.5285, allocations: 84.22 kB / 0.5219 GB, free: 48.17 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002632/0.5312, allocations: 1.58 MB / 0.5235 GB, free: 47.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/0.5312, allocations: 12.56 kB / 0.5235 GB, free: 47.43 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.5312, allocations: 7.453 kB / 0.5235 GB, free: 47.42 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.5312, allocations: 10.72 kB / 0.5235 GB, free: 47.42 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004543/0.5358, allocations: 2.898 MB / 0.5263 GB, free: 45.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.268e-06/0.5358, allocations: 3.125 kB / 0.5263 GB, free: 45.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007259/0.5365, allocations: 145.8 kB / 0.5265 GB, free: 45.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001612/0.5382, allocations: 0.5221 MB / 0.527 GB, free: 45.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.633e-05/0.5383, allocations: 29.72 kB / 0.527 GB, free: 45.78 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001072/0.5384, allocations: 21.58 kB / 0.527 GB, free: 45.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5384, allocations: 3.281 kB / 0.527 GB, free: 45.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00602/0.5444, allocations: 4.09 MB / 0.531 GB, free: 43.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004327/0.5449, allocations: 289.2 kB / 0.5313 GB, free: 43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-05/0.545, allocations: 30.41 kB / 0.5313 GB, free: 42.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006501/0.5457, allocations: 51.72 kB / 0.5314 GB, free: 42.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002328/0.5459, allocations: 80.17 kB / 0.5314 GB, free: 42.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-05/0.546, allocations: 36.88 kB / 0.5315 GB, free: 42.94 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004525/0.5465, allocations: 313.8 kB / 0.5318 GB, free: 42.79 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5465, allocations: 0 / 0.5318 GB, free: 42.79 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001516/0.548, allocations: 390.5 kB / 0.5321 GB, free: 42.7 MB / 394.7 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.0004519/0.5485, allocations: 154.3 kB / 0.5323 GB, free: 42.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003391/0.5519, allocations: 1.394 MB / 0.5337 GB, free: 42.09 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.5519, allocations: 0 / 0.5337 GB, free: 42.09 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001656/0.5536, allocations: 0.7779 MB / 0.5344 GB, free: 41.81 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007371/0.5543, allocations: 106.7 kB / 0.5345 GB, free: 41.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004241/0.5586, allocations: 3.236 MB / 0.5377 GB, free: 39.68 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000598/0.5592, allocations: 1.077 MB / 0.5387 GB, free: 38.96 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005394/0.5597, allocations: 114.8 kB / 0.5388 GB, free: 38.92 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001872/0.5599, allocations: 63.95 kB / 0.5389 GB, free: 38.91 MB / 394.7 MB Notification: Performance of SimCode: time 1.273e-06/0.5599, allocations: 0 / 0.5389 GB, free: 38.91 MB / 394.7 MB Notification: Performance of Templates: time 0.02843/0.5884, allocations: 13.78 MB / 0.5524 GB, free: 36.83 MB / 394.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/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