Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 77.97 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 165.5 kB / 24.82 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.04/1.04, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3032/0.3032, allocations: 34.27 MB / 296.1 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.246e-06/3.246e-06, allocations: 0 / 378.5 MB, free: 2.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.929e-05/5.254e-05, allocations: 2.312 kB / 378.5 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01045/0.0105, allocations: 7.346 MB / 385.8 MB, free: 11.01 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006115/0.01661, allocations: 2.345 MB / 388.2 MB, free: 8.66 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001973/0.01859, allocations: 27.94 kB / 388.2 MB, free: 8.633 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004016/0.0226, allocations: 1.874 MB / 390.1 MB, free: 6.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003581/0.02618, allocations: 0.7142 MB / 390.8 MB, free: 6.031 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002395/0.02858, allocations: 1.036 MB / 391.8 MB, free: 4.992 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002116/0.03069, allocations: 1.467 MB / 393.3 MB, free: 3.516 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00143/0.03212, allocations: 0.9144 MB / 394.2 MB, free: 2.582 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.03316, allocations: 0.8653 MB / 395.1 MB, free: 1.715 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006142/0.03378, allocations: 0.5766 MB / 395.7 MB, free: 1.137 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.03391, allocations: 112 kB / 395.8 MB, free: 1.027 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007026/0.03461, allocations: 319.6 kB / 396.1 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.03477, allocations: 310.8 kB / 396.4 MB, free: 420 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003576/0.03513, allocations: 458.8 kB / 396.8 MB, free: 15.96 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.03634, allocations: 1.226 MB / 398.1 MB, free: 14.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.03635, allocations: 0 / 398.1 MB, free: 14.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.03635, allocations: 0 / 398.1 MB, free: 14.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.03636, allocations: 3.938 kB / 398.1 MB, free: 14.73 MB / 378.7 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.003771/0.04013, allocations: 2.478 MB / 400.5 MB, free: 12.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.04017, allocations: 8.031 kB / 400.5 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004792/0.04496, allocations: 1.654 MB / 402.2 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006122/0.04557, allocations: 0.5484 MB / 402.8 MB, free: 9.969 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.148e-05/0.04563, allocations: 99.02 kB / 402.8 MB, free: 9.871 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.04578, allocations: 132.3 kB / 403 MB, free: 9.742 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.04693, allocations: 1.156 MB / 404.1 MB, free: 8.504 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/0.04695, allocations: 4.172 kB / 404.1 MB, free: 8.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.878e-05/0.04703, allocations: 55.94 kB / 404.2 MB, free: 8.445 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.607e-05/0.04706, allocations: 39.98 kB / 404.2 MB, free: 8.406 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008083/0.04787, allocations: 0.7086 MB / 404.9 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0043/0.05217, allocations: 4.364 MB / 409.3 MB, free: 3.164 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009145/0.05308, allocations: 0.8935 MB / 410.2 MB, free: 2.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003132/0.0534, allocations: 321.1 kB / 410.5 MB, free: 1.949 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.404e-05/0.05349, allocations: 52.95 kB / 410.6 MB, free: 1.898 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.05352, allocations: 50.39 kB / 410.6 MB, free: 1.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=127): time 2.435e-06/0.05352, allocations: 4 kB / 410.6 MB, free: 1.836 MB / 378.7 MB Notification: Performance of matching and sorting (n=127): time 0.00412/0.05764, allocations: 2.271 MB / 412.9 MB, free: 15.54 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.05768, allocations: 90.11 kB / 413 MB, free: 15.44 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002946/0.05798, allocations: 466.1 kB / 413.4 MB, free: 14.96 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.367e-05/0.05803, allocations: 45.7 kB / 413.5 MB, free: 14.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/0.05826, allocations: 0.5191 MB / 414 MB, free: 14.39 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002278/0.05848, allocations: 448.1 kB / 414.4 MB, free: 13.95 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00023/0.05871, allocations: 244.4 kB / 414.7 MB, free: 13.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.05889, allocations: 0.5624 MB / 415.2 MB, free: 13.12 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002259/0.05911, allocations: 194.5 kB / 415.4 MB, free: 12.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003899/0.0595, allocations: 0.5391 MB / 416 MB, free: 12.27 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006963/0.0602, allocations: 0.7987 MB / 416.8 MB, free: 11.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.06021, allocations: 7.938 kB / 416.8 MB, free: 11.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.001319/0.06152, allocations: 1.05 MB / 417.8 MB, free: 10.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.06155, allocations: 11.98 kB / 417.8 MB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.06156, allocations: 8 kB / 417.8 MB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007486/0.06231, allocations: 409.1 kB / 418.2 MB, free: 9.848 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004236/0.06274, allocations: 195.7 kB / 418.4 MB, free: 9.656 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001167/0.06285, allocations: 64.06 kB / 418.5 MB, free: 9.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003129/0.06317, allocations: 119.1 kB / 418.6 MB, free: 9.473 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.934e-05/0.06325, allocations: 43.98 kB / 418.6 MB, free: 9.43 MB / 394.7 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.0002777/0.06352, allocations: 224.3 kB / 418.9 MB, free: 9.199 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.06365, allocations: 115.5 kB / 419 MB, free: 9.086 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/0.06478, allocations: 1.022 MB / 420 MB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.06479, allocations: 12 kB / 420 MB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.06479, allocations: 0 / 420 MB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.0648, allocations: 7.984 kB / 420 MB, free: 8.027 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/0.06674, allocations: 1.834 MB / 421.9 MB, free: 6.152 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.06675, allocations: 3.938 kB / 421.9 MB, free: 6.148 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00031/0.06706, allocations: 143.8 kB / 422 MB, free: 6.008 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006909/0.06775, allocations: 402.6 kB / 422.4 MB, free: 5.613 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.012e-05/0.0678, allocations: 24 kB / 422.4 MB, free: 5.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001492/0.06795, allocations: 75.55 kB / 422.5 MB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.06795, allocations: 0 / 422.5 MB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/0.06948, allocations: 1.464 MB / 424 MB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002668/0.06975, allocations: 203.1 kB / 424.2 MB, free: 3.816 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.432e-05/0.06982, allocations: 24 kB / 424.2 MB, free: 3.793 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.07007, allocations: 44.02 kB / 424.2 MB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.07019, allocations: 85.09 kB / 424.3 MB, free: 3.664 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-05/0.07023, allocations: 31.98 kB / 424.3 MB, free: 3.633 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000164/0.0704, allocations: 271 kB / 424.6 MB, free: 3.367 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0704, allocations: 0 / 424.6 MB, free: 3.367 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006443/0.07104, allocations: 359.1 kB / 424.9 MB, free: 3.016 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 (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.0002433/0.07129, allocations: 171 kB / 425.1 MB, free: 2.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.07236, allocations: 0.8468 MB / 426 MB, free: 1.992 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.07236, allocations: 0 / 426 MB, free: 1.992 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006791/0.07304, allocations: 0.5078 MB / 426.5 MB, free: 1.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004225/0.07346, allocations: 120.5 kB / 426.6 MB, free: 1.363 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.07562, allocations: 1.868 MB / 428.5 MB, free: 15.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.07574, allocations: 199.2 kB / 428.7 MB, free: 15.24 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000244/0.07599, allocations: 110.4 kB / 428.8 MB, free: 15.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002676/0.07626, allocations: 202.1 kB / 429 MB, free: 14.93 MB / 410.7 MB Notification: Performance of SimCode: time 6.31e-07/0.07626, allocations: 4 kB / 429 MB, free: 14.93 MB / 410.7 MB Notification: Performance of Templates: time 0.01606/0.09232, allocations: 13.25 MB / 442.2 MB, free: 1.816 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7927055079489946]