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.001202/0.001202, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009758/0.0009758, allocations: 165 kB / 24.56 MB, free: 16 kB / 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 0.9935/0.9935, allocations: 177.1 MB / 205 MB, free: 5.297 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.2756/0.2756, allocations: 34.26 MB / 295.7 MB, free: 0.7227 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 2.796e-06/2.796e-06, allocations: 0 / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.247e-05/3.527e-05, allocations: 5.969 kB / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.008729/0.008764, allocations: 7.527 MB / 385.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004924/0.01369, allocations: 2.361 MB / 387.9 MB, free: 8.73 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009911/0.01468, allocations: 31.94 kB / 388 MB, free: 8.699 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003085/0.01776, allocations: 1.913 MB / 389.9 MB, free: 6.777 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002302/0.02007, allocations: 0.7259 MB / 390.6 MB, free: 6.047 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001979/0.02205, allocations: 1.048 MB / 391.6 MB, free: 4.996 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001987/0.02403, allocations: 1.459 MB / 393.1 MB, free: 3.527 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001606/0.02564, allocations: 0.9183 MB / 394 MB, free: 2.59 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001228/0.02687, allocations: 0.8653 MB / 394.9 MB, free: 1.723 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008176/0.02768, allocations: 0.5688 MB / 395.5 MB, free: 1.152 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002545/0.02794, allocations: 112 kB / 395.6 MB, free: 1.043 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008281/0.02877, allocations: 327.6 kB / 395.9 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002369/0.029, allocations: 314.7 kB / 396.2 MB, free: 424 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005254/0.02953, allocations: 454.9 kB / 396.6 MB, free: 15.96 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001827/0.03136, allocations: 1.234 MB / 397.9 MB, free: 14.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.03136, allocations: 0 / 397.9 MB, free: 14.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.03136, allocations: 0 / 397.9 MB, free: 14.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.294e-05/0.0314, allocations: 0 / 397.9 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.005911/0.03731, allocations: 2.462 MB / 400.3 MB, free: 12.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.03736, allocations: 12.03 kB / 400.3 MB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007474/0.04483, allocations: 1.654 MB / 402 MB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.04618, allocations: 0.5626 MB / 402.6 MB, free: 9.969 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.425e-05/0.04627, allocations: 99.02 kB / 402.7 MB, free: 9.871 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002445/0.04652, allocations: 136.3 kB / 402.8 MB, free: 9.738 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002291/0.04881, allocations: 1.262 MB / 404 MB, free: 8.395 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.942e-05/0.04885, allocations: 192 / 404 MB, free: 8.395 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.04896, allocations: 59.94 kB / 404.1 MB, free: 8.336 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.328e-05/0.04899, allocations: 32 kB / 404.1 MB, free: 8.305 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/0.05076, allocations: 0.8731 MB / 405 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006393/0.05715, allocations: 4.345 MB / 409.4 MB, free: 2.926 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.05863, allocations: 0.9795 MB / 410.3 MB, free: 1.945 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006103/0.05924, allocations: 385.1 kB / 410.7 MB, free: 1.562 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/0.05937, allocations: 40.97 kB / 410.8 MB, free: 1.523 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.05941, allocations: 50.39 kB / 410.8 MB, free: 1.465 MB / 378.7 MB Notification: Performance of pre-optimization done (n=127): time 3.516e-06/0.05941, allocations: 0 / 410.8 MB, free: 1.465 MB / 378.7 MB Notification: Performance of matching and sorting (n=127): time 0.006582/0.06599, allocations: 2.446 MB / 413.2 MB, free: 15 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/0.06605, allocations: 90.11 kB / 413.3 MB, free: 14.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000403/0.06646, allocations: 466.4 kB / 413.8 MB, free: 14.42 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.625e-05/0.06651, allocations: 45.7 kB / 413.8 MB, free: 14.37 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/0.06675, allocations: 0.523 MB / 414.4 MB, free: 13.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/0.06701, allocations: 440.2 kB / 414.8 MB, free: 13.41 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002406/0.06725, allocations: 240.4 kB / 415 MB, free: 13.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.06743, allocations: 0.5547 MB / 415.6 MB, free: 12.6 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003912/0.06782, allocations: 258.5 kB / 415.8 MB, free: 12.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005273/0.06834, allocations: 0.5861 MB / 416.4 MB, free: 11.63 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009745/0.06932, allocations: 0.9161 MB / 417.3 MB, free: 10.58 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-06/0.06933, allocations: 4 kB / 417.3 MB, free: 10.58 MB / 394.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.001629/0.07096, allocations: 1.183 MB / 418.5 MB, free: 9.383 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.07098, allocations: 8 kB / 418.5 MB, free: 9.375 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/0.071, allocations: 8 kB / 418.5 MB, free: 9.367 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000889/0.07188, allocations: 429.2 kB / 419 MB, free: 8.945 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004329/0.07232, allocations: 199.7 kB / 419.1 MB, free: 8.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001181/0.07244, allocations: 56.09 kB / 419.2 MB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004175/0.07285, allocations: 123.1 kB / 419.3 MB, free: 8.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.264e-05/0.07292, allocations: 51.98 kB / 419.4 MB, free: 8.52 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.0002931/0.07321, allocations: 224.3 kB / 419.6 MB, free: 8.289 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.07336, allocations: 115.5 kB / 419.7 MB, free: 8.176 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/0.07478, allocations: 1.135 MB / 420.8 MB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.0748, allocations: 16 kB / 420.9 MB, free: 7.008 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.0748, allocations: 3.938 kB / 420.9 MB, free: 7.004 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.07481, allocations: 7.969 kB / 420.9 MB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002574/0.07739, allocations: 2.06 MB / 422.9 MB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.07739, allocations: 12.02 kB / 422.9 MB, free: 4.875 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000342/0.07773, allocations: 139.8 kB / 423.1 MB, free: 4.738 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007589/0.07849, allocations: 414.7 kB / 423.5 MB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.487e-05/0.07856, allocations: 28 kB / 423.5 MB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001556/0.07871, allocations: 71.62 kB / 423.6 MB, free: 4.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.07872, allocations: 3.938 kB / 423.6 MB, free: 4.227 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/0.08066, allocations: 1.656 MB / 425.2 MB, free: 2.539 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003036/0.08096, allocations: 207.1 kB / 425.4 MB, free: 2.336 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.783e-05/0.08103, allocations: 20 kB / 425.5 MB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.08131, allocations: 56 kB / 425.5 MB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.08144, allocations: 77.16 kB / 425.6 MB, free: 2.184 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-05/0.08149, allocations: 43.98 kB / 425.6 MB, free: 2.141 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001976/0.08168, allocations: 290.9 kB / 425.9 MB, free: 1.855 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08168, allocations: 0 / 425.9 MB, free: 1.855 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007029/0.08239, allocations: 355.2 kB / 426.3 MB, free: 1.508 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.0002543/0.08264, allocations: 159 kB / 426.4 MB, free: 1.344 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001471/0.08411, allocations: 0.9669 MB / 427.4 MB, free: 384 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.08412, allocations: 1.312 kB / 427.4 MB, free: 384 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008621/0.08498, allocations: 0.5662 MB / 428 MB, free: 15.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.08545, allocations: 112.2 kB / 428.1 MB, free: 15.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/0.0882, allocations: 1.921 MB / 430 MB, free: 13.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.08833, allocations: 203.2 kB / 430.2 MB, free: 13.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002717/0.0886, allocations: 102.4 kB / 430.3 MB, free: 13.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.08874, allocations: 72.48 kB / 430.4 MB, free: 13.34 MB / 410.7 MB Notification: Performance of SimCode: time 1.753e-06/0.08874, allocations: 0 / 430.4 MB, free: 13.34 MB / 410.7 MB Notification: Performance of Templates: time 0.01751/0.1063, allocations: 12.31 MB / 442.7 MB, free: 1.188 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.9368856768123806]