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.001035/0.001035, allocations: 104.7 kB / 16.27 MB, free: 5.977 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.001108/0.001108, allocations: 188.3 kB / 17.19 MB, free: 5.609 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.715/1.715, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2553/0.2553, allocations: 43.53 MB / 313.9 MB, free: 0.5312 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.001541/0.001541, allocations: 67.09 kB / 382.7 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1439, allocations: 57.79 MB / 440.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.007412/0.1514, allocations: 7.721 MB / 448.2 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00639/0.1578, allocations: 2.357 MB / 450.6 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009753/0.1588, allocations: 24 kB / 450.6 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004369/0.1633, allocations: 1.82 MB / 452.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00384/0.1672, allocations: 0.8972 MB / 453.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002547/0.1697, allocations: 0.8783 MB / 454.2 MB, free: 9.164 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002429/0.1722, allocations: 1.425 MB / 455.6 MB, free: 7.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001723/0.1739, allocations: 1.016 MB / 456.7 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009395/0.1749, allocations: 0.615 MB / 457.3 MB, free: 6.078 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007976/0.1757, allocations: 0.7548 MB / 458 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001605/0.1758, allocations: 112 kB / 458.1 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009391/0.1768, allocations: 331.8 kB / 458.5 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000251/0.177, allocations: 306.9 kB / 458.8 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006527/0.1777, allocations: 0.6608 MB / 459.4 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002112/0.1798, allocations: 1.744 MB / 461.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.1799, allocations: 4 kB / 461.2 MB, free: 2.168 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1799, allocations: 0 / 461.2 MB, free: 2.168 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.836e-05/0.1799, allocations: 4 kB / 461.2 MB, free: 2.164 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.007813/0.1877, allocations: 2.4 MB / 463.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.1878, allocations: 11.89 kB / 463.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01029/0.1981, allocations: 1.498 MB / 465.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/0.1998, allocations: 0.613 MB / 465.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.935e-05/0.1999, allocations: 103.1 kB / 465.8 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002343/0.2001, allocations: 136.3 kB / 465.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002817/0.2029, allocations: 1.535 MB / 467.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.593e-05/0.203, allocations: 0 / 467.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/0.2031, allocations: 59.98 kB / 467.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.841e-05/0.2032, allocations: 36 kB / 467.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0031/0.2063, allocations: 1.58 MB / 469.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009389/0.2157, allocations: 5.554 MB / 474.7 MB, free: 4.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002608/0.2184, allocations: 2.374 MB / 477.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/0.2194, allocations: 0.6617 MB / 477.7 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001433/0.2196, allocations: 106 kB / 477.8 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.2196, allocations: 51.5 kB / 477.9 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=129): time 4.859e-06/0.2197, allocations: 0 / 477.9 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of matching and sorting (n=129): time 0.009088/0.2287, allocations: 3.171 MB / 481 MB, free: 13.53 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.139e-05/0.2289, allocations: 94.09 kB / 481.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006073/0.2295, allocations: 477.9 kB / 481.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.038e-05/0.2296, allocations: 45.7 kB / 481.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003575/0.2299, allocations: 487.2 kB / 482.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003625/0.2303, allocations: 429.7 kB / 482.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003928/0.2307, allocations: 230.8 kB / 482.8 MB, free: 11.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.2309, allocations: 382.8 kB / 483.1 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009361/0.2318, allocations: 467.1 kB / 483.6 MB, free: 10.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.2329, allocations: 0.7403 MB / 484.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002019/0.235, allocations: 1.262 MB / 485.6 MB, free: 8.676 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/0.235, allocations: 0 / 485.6 MB, free: 8.676 MB / 366.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003606/0.2386, allocations: 1.666 MB / 487.3 MB, free: 7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.091e-05/0.2386, allocations: 16.09 kB / 487.3 MB, free: 6.984 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.794e-05/0.2387, allocations: 11.94 kB / 487.3 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001749/0.2404, allocations: 0.5318 MB / 487.8 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008833/0.2413, allocations: 211.7 kB / 488 MB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002701/0.2416, allocations: 57.19 kB / 488.1 MB, free: 6.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009913/0.2426, allocations: 134.6 kB / 488.2 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/0.2428, allocations: 59.97 kB / 488.3 MB, free: 5.984 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.0007406/0.2435, allocations: 269.5 kB / 488.5 MB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002608/0.2438, allocations: 79.06 kB / 488.6 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003044/0.2469, allocations: 1.583 MB / 490.2 MB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/0.2469, allocations: 12 kB / 490.2 MB, free: 4.023 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.2469, allocations: 3.984 kB / 490.2 MB, free: 4.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/0.2469, allocations: 7.984 kB / 490.2 MB, free: 4.012 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00569/0.2526, allocations: 2.904 MB / 493.1 MB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.2527, allocations: 4 kB / 493.1 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006796/0.2534, allocations: 147.8 kB / 493.3 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0015/0.2549, allocations: 0.5262 MB / 493.8 MB, free: 376 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.255, allocations: 27.98 kB / 493.8 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001038/0.2551, allocations: 24.84 kB / 493.9 MB, free: 320 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.2551, allocations: 4 kB / 493.9 MB, free: 316 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004102/0.2592, allocations: 2.308 MB / 496.2 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006023/0.2599, allocations: 283.6 kB / 496.4 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001913/0.2601, allocations: 24 kB / 496.5 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000702/0.2608, allocations: 43.97 kB / 496.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002076/0.261, allocations: 77.2 kB / 496.6 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.872e-05/0.2611, allocations: 35.94 kB / 496.6 MB, free: 13.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000461/0.2615, allocations: 330.9 kB / 496.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2615, allocations: 0 / 496.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001252/0.2628, allocations: 351.1 kB / 497.3 MB, free: 12.83 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.0003748/0.2632, allocations: 151.1 kB / 497.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003872/0.2671, allocations: 1.43 MB / 498.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.2671, allocations: 1.312 kB / 498.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00178/0.2689, allocations: 0.7699 MB / 499.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008042/0.2697, allocations: 106.2 kB / 499.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004451/0.2742, allocations: 2.108 MB / 0.4901 GB, free: 8.234 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000839/0.275, allocations: 1.048 MB / 0.4911 GB, free: 7.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006043/0.2756, allocations: 115 kB / 0.4912 GB, free: 7.043 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000183/0.2758, allocations: 63.42 kB / 0.4913 GB, free: 6.984 MB / 382.1 MB Notification: Performance of SimCode: time 3.717e-06/0.2758, allocations: 0 / 0.4913 GB, free: 6.984 MB / 382.1 MB Notification: Performance of Templates: time 0.0282/0.304, allocations: 13.99 MB / 0.5049 GB, free: 9.035 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches