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.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.001592/0.001592, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001655/0.001655, allocations: 164.5 kB / 24.99 MB, free: 9.301 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.055/1.055, allocations: 177.1 MB / 205.3 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2872/0.2872, allocations: 32.8 MB / 294.6 MB, free: 1.289 MB / 266.7 MB " [Timeout remaining time 180] 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.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.0.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.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 376 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.765e-05/1.905e-05, allocations: 6.25 kB / 376 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.007717/0.007736, allocations: 7.506 MB / 383.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003356/0.01109, allocations: 2.345 MB / 385.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003635/0.01146, allocations: 31.94 kB / 385.9 MB, free: 11.06 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0025/0.01396, allocations: 1.909 MB / 387.8 MB, free: 9.141 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001227/0.01518, allocations: 0.7143 MB / 388.5 MB, free: 8.422 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.01668, allocations: 1.051 MB / 389.5 MB, free: 7.367 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001209/0.01788, allocations: 1.455 MB / 391 MB, free: 5.902 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.01897, allocations: 0.9183 MB / 391.9 MB, free: 4.965 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000802/0.01978, allocations: 0.8613 MB / 392.8 MB, free: 4.102 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000592/0.02037, allocations: 0.5688 MB / 393.4 MB, free: 3.531 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000137/0.02051, allocations: 116 kB / 393.5 MB, free: 3.418 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004989/0.021, allocations: 323.5 kB / 393.8 MB, free: 3.102 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001896/0.02119, allocations: 306.8 kB / 394.1 MB, free: 2.801 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003766/0.02157, allocations: 462.8 kB / 394.5 MB, free: 2.348 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.0228, allocations: 1.234 MB / 395.8 MB, free: 1.109 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.0228, allocations: 4 kB / 395.8 MB, free: 1.105 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.0228, allocations: 0 / 395.8 MB, free: 1.105 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.02281, allocations: 0 / 395.8 MB, free: 1.105 MB / 362.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.005806/0.02862, allocations: 2.462 MB / 398.2 MB, free: 14.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.02865, allocations: 8.031 kB / 398.2 MB, free: 14.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008468/0.03712, allocations: 1.651 MB / 399.9 MB, free: 12.94 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007774/0.0379, allocations: 0.5587 MB / 400.4 MB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.864e-05/0.03797, allocations: 103 kB / 400.6 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/0.03815, allocations: 132.3 kB / 400.7 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.04001, allocations: 1.265 MB / 401.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/0.04004, allocations: 192 / 401.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.04015, allocations: 59.94 kB / 402 MB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.947e-05/0.04018, allocations: 32 kB / 402 MB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001593/0.04178, allocations: 0.8692 MB / 402.9 MB, free: 9.809 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005403/0.04718, allocations: 4.345 MB / 407.2 MB, free: 5.312 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.04857, allocations: 0.9829 MB / 408.2 MB, free: 4.332 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006438/0.04922, allocations: 381.1 kB / 408.6 MB, free: 3.953 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.04934, allocations: 44.97 kB / 408.6 MB, free: 3.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.04938, allocations: 50.33 kB / 408.7 MB, free: 3.852 MB / 378.7 MB Notification: Performance of pre-optimization done (n=127): time 3.466e-06/0.04938, allocations: 0 / 408.7 MB, free: 3.852 MB / 378.7 MB Notification: Performance of matching and sorting (n=127): time 0.006725/0.05611, allocations: 2.442 MB / 411.1 MB, free: 1.391 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.05616, allocations: 102.1 kB / 411.2 MB, free: 1.273 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004378/0.05659, allocations: 466.4 kB / 411.7 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.519e-05/0.05667, allocations: 45.7 kB / 411.7 MB, free: 0.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003493/0.05702, allocations: 0.5191 MB / 412.3 MB, free: 228 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003275/0.05735, allocations: 444.2 kB / 412.7 MB, free: 15.79 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003487/0.0577, allocations: 236.5 kB / 412.9 MB, free: 15.55 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002001/0.0579, allocations: 0.5586 MB / 413.5 MB, free: 14.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000686/0.05858, allocations: 250.5 kB / 413.7 MB, free: 14.73 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007856/0.05937, allocations: 0.5939 MB / 414.3 MB, free: 14.01 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.06079, allocations: 0.9162 MB / 415.2 MB, free: 12.96 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.0608, allocations: 0 / 415.2 MB, free: 12.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002311/0.06311, allocations: 1.183 MB / 416.4 MB, free: 11.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.06314, allocations: 13.88 kB / 416.4 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-05/0.06316, allocations: 11.98 kB / 416.4 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001244/0.06441, allocations: 424.9 kB / 416.9 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009317/0.06534, allocations: 195.7 kB / 417.1 MB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001594/0.0655, allocations: 56.09 kB / 417.1 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005455/0.06604, allocations: 119.1 kB / 417.2 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.852e-05/0.06613, allocations: 48 kB / 417.3 MB, free: 10.91 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.00032/0.06645, allocations: 232.2 kB / 417.5 MB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002213/0.06667, allocations: 123.5 kB / 417.6 MB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002135/0.06881, allocations: 1.135 MB / 418.8 MB, free: 9.398 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.06882, allocations: 12 kB / 418.8 MB, free: 9.387 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.06883, allocations: 0 / 418.8 MB, free: 9.387 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.06884, allocations: 11.97 kB / 418.8 MB, free: 9.375 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003485/0.07233, allocations: 2.072 MB / 420.8 MB, free: 7.254 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.07233, allocations: 0 / 420.8 MB, free: 7.254 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000511/0.07284, allocations: 139.8 kB / 421 MB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001076/0.07392, allocations: 422.6 kB / 421.4 MB, free: 6.703 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-05/0.07399, allocations: 27.98 kB / 421.4 MB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002312/0.07422, allocations: 75.62 kB / 421.5 MB, free: 6.598 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.07422, allocations: 0 / 421.5 MB, free: 6.598 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002725/0.07695, allocations: 1.656 MB / 423.2 MB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002668/0.07722, allocations: 207 kB / 423.4 MB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.763e-05/0.07729, allocations: 31.98 kB / 423.4 MB, free: 4.676 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003012/0.0776, allocations: 39.98 kB / 423.4 MB, free: 4.637 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.07772, allocations: 81.16 kB / 423.5 MB, free: 4.555 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.302e-05/0.07776, allocations: 39.98 kB / 423.5 MB, free: 4.516 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001864/0.07795, allocations: 295 kB / 423.8 MB, free: 4.227 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07795, allocations: 0 / 423.8 MB, free: 4.227 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006121/0.07856, allocations: 351.2 kB / 424.2 MB, free: 3.883 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.000238/0.0788, allocations: 159 kB / 424.3 MB, free: 3.719 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001446/0.08025, allocations: 0.971 MB / 425.3 MB, free: 2.746 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.08025, allocations: 0 / 425.3 MB, free: 2.746 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008077/0.08106, allocations: 0.5556 MB / 425.9 MB, free: 2.188 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004719/0.08153, allocations: 121.9 kB / 426 MB, free: 2.066 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002501/0.08403, allocations: 1.903 MB / 427.9 MB, free: 124 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.08417, allocations: 199.2 kB / 428.1 MB, free: 15.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002548/0.08442, allocations: 106.4 kB / 428.2 MB, free: 15.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.08455, allocations: 72.47 kB / 428.2 MB, free: 15.73 MB / 410.7 MB Notification: Performance of SimCode: time 9.01e-07/0.08455, allocations: 0 / 428.2 MB, free: 15.73 MB / 410.7 MB Notification: Performance of Templates: time 0.01475/0.0993, allocations: 12.31 MB / 440.6 MB, free: 3.57 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.8505803300067782]