Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001439/0.001439, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001914/0.001914, allocations: 195.3 kB / 19.23 MB, free: 3.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 242.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2006/0.2006, allocations: 44.18 MB / 337.3 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 64.83 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1209, allocations: 60.83 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.00988/0.1308, allocations: 7.716 MB / 477.6 MB, free: 6.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005629/0.1365, allocations: 2.361 MB / 480 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.1379, allocations: 27.94 kB / 480 MB, free: 4.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004857/0.1428, allocations: 1.822 MB / 481.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002978/0.1458, allocations: 0.8753 MB / 482.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002513/0.1483, allocations: 0.8757 MB / 483.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002413/0.1507, allocations: 1.401 MB / 485 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001997/0.1527, allocations: 1.013 MB / 486 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.1539, allocations: 0.5956 MB / 486.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001298/0.1552, allocations: 0.7237 MB / 487.3 MB, free: 12.87 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005244/0.1558, allocations: 116 kB / 487.5 MB, free: 12.76 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.157, allocations: 327.8 kB / 487.8 MB, free: 12.44 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000416/0.1575, allocations: 306.8 kB / 488.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009319/0.1584, allocations: 0.653 MB / 488.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002667/0.1611, allocations: 1.732 MB / 490.5 MB, free: 9.742 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1611, allocations: 0 / 490.5 MB, free: 9.742 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1611, allocations: 0 / 490.5 MB, free: 9.742 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.87e-05/0.1612, allocations: 0 / 490.5 MB, free: 9.742 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.008942/0.1701, allocations: 2.377 MB / 492.8 MB, free: 7.312 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.1702, allocations: 8.031 kB / 492.8 MB, free: 7.305 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01071/0.1809, allocations: 1.396 MB / 494.2 MB, free: 5.906 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/0.1826, allocations: 0.6089 MB / 494.8 MB, free: 5.258 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.1827, allocations: 99.02 kB / 494.9 MB, free: 5.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004529/0.1832, allocations: 132.4 kB / 495.1 MB, free: 5.031 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003686/0.1869, allocations: 1.479 MB / 496.6 MB, free: 3.508 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.838e-05/0.187, allocations: 15.84 kB / 496.6 MB, free: 3.492 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001824/0.1872, allocations: 52 kB / 496.6 MB, free: 3.441 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.739e-05/0.1872, allocations: 32 kB / 496.6 MB, free: 3.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003015/0.1902, allocations: 1.509 MB / 498.2 MB, free: 1.895 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009176/0.1994, allocations: 5.381 MB / 0.4917 GB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002491/0.202, allocations: 2.188 MB / 0.4939 GB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/0.203, allocations: 0.6476 MB / 0.4945 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001458/0.2032, allocations: 102.1 kB / 0.4946 GB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.2032, allocations: 51.55 kB / 0.4947 GB, free: 8.984 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 4.237e-06/0.2032, allocations: 3.938 kB / 0.4947 GB, free: 8.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.008855/0.2121, allocations: 3.094 MB / 0.4977 GB, free: 5.855 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/0.2122, allocations: 90.11 kB / 0.4978 GB, free: 5.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006093/0.2128, allocations: 461.9 kB / 0.4982 GB, free: 5.285 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.499e-05/0.2129, allocations: 49.73 kB / 0.4983 GB, free: 5.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002875/0.2132, allocations: 463.5 kB / 0.4987 GB, free: 4.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000346/0.2136, allocations: 429.7 kB / 0.4991 GB, free: 4.344 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003343/0.2139, allocations: 210.8 kB / 0.4993 GB, free: 4.133 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.2141, allocations: 386.7 kB / 0.4997 GB, free: 3.746 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000826/0.2149, allocations: 458.4 kB / 0.5001 GB, free: 3.297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009873/0.2159, allocations: 0.6996 MB / 0.5008 GB, free: 2.508 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001923/0.2178, allocations: 1.202 MB / 0.502 GB, free: 1.215 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.2179, allocations: 0 / 0.502 GB, free: 1.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.2294/0.4473, allocations: 1.584 MB / 0.5035 GB, free: 48.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.608e-05/0.4474, allocations: 7.438 kB / 0.5035 GB, free: 48.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.89e-05/0.4475, allocations: 7.938 kB / 0.5035 GB, free: 48.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001984/0.4494, allocations: 0.5325 MB / 0.504 GB, free: 48.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.4505, allocations: 195.7 kB / 0.5042 GB, free: 48.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002539/0.4508, allocations: 53.75 kB / 0.5043 GB, free: 48.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000974/0.4518, allocations: 119 kB / 0.5044 GB, free: 48.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002187/0.452, allocations: 50.73 kB / 0.5044 GB, free: 48.2 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (112): * Single equations (assignments): 111 * 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.0007001/0.4527, allocations: 269.9 kB / 0.5047 GB, free: 48.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003238/0.453, allocations: 81.17 kB / 0.5048 GB, free: 48.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003126/0.4562, allocations: 1.572 MB / 0.5063 GB, free: 47.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.029e-05/0.4562, allocations: 14.56 kB / 0.5063 GB, free: 47.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.4562, allocations: 3.906 kB / 0.5063 GB, free: 47.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.322e-05/0.4563, allocations: 6.875 kB / 0.5063 GB, free: 47.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005224/0.4615, allocations: 2.875 MB / 0.5092 GB, free: 46.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.4615, allocations: 1.094 kB / 0.5092 GB, free: 46.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006566/0.4622, allocations: 140.3 kB / 0.5093 GB, free: 46.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001536/0.4637, allocations: 0.5239 MB / 0.5098 GB, free: 46.06 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.129e-05/0.4638, allocations: 28.2 kB / 0.5098 GB, free: 46.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003371/0.4642, allocations: 66.02 kB / 0.5099 GB, free: 46.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.4642, allocations: 1.406 kB / 0.5099 GB, free: 46.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004148/0.4684, allocations: 2.332 MB / 0.5122 GB, free: 44.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005002/0.4689, allocations: 282.9 kB / 0.5124 GB, free: 44.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/0.4691, allocations: 21.31 kB / 0.5125 GB, free: 44.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006904/0.4698, allocations: 47.77 kB / 0.5125 GB, free: 44.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001996/0.47, allocations: 80.88 kB / 0.5126 GB, free: 44.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.702e-05/0.47, allocations: 37.34 kB / 0.5126 GB, free: 44.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004232/0.4705, allocations: 309.5 kB / 0.5129 GB, free: 44.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.41e-07/0.4705, allocations: 0 / 0.5129 GB, free: 44.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001337/0.4718, allocations: 341.6 kB / 0.5132 GB, free: 44.33 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 (84): * Single equations (assignments): 83 * 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.0004022/0.4722, allocations: 163.7 kB / 0.5134 GB, free: 44.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003909/0.4762, allocations: 1.4 MB / 0.5148 GB, free: 43.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.4762, allocations: 3.406 kB / 0.5148 GB, free: 43.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001849/0.478, allocations: 0.7663 MB / 0.5155 GB, free: 43.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008423/0.4789, allocations: 99.25 kB / 0.5156 GB, free: 43.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004021/0.4829, allocations: 2.106 MB / 0.5177 GB, free: 42.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00079/0.4837, allocations: 1.04 MB / 0.5187 GB, free: 41.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003561/0.4841, allocations: 70.12 kB / 0.5187 GB, free: 41.55 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4841, allocations: 4 kB / 0.5187 GB, free: 41.54 MB / 382.1 MB Notification: Performance of Templates: time 0.02187/0.506, allocations: 16.39 MB / 0.5348 GB, free: 31.23 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches