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.0009684/0.0009684, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001711/0.001711, allocations: 171.1 kB / 25.61 MB, free: 8.883 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.063/1.063, allocations: 177.1 MB / 206.1 MB, free: 4.52 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.1547/0.1547, allocations: 32.8 MB / 295.4 MB, free: 15.39 MB / 282.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 2.033e-06/2.033e-06, allocations: 0 / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.524e-05/3.727e-05, allocations: 10.14 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.007675/0.007712, allocations: 7.354 MB / 384.6 MB, free: 18.2 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005655/0.01337, allocations: 2.33 MB / 386.9 MB, free: 15.86 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00159/0.01496, allocations: 27.94 kB / 387 MB, free: 15.84 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003638/0.01859, allocations: 1.87 MB / 388.8 MB, free: 13.96 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003175/0.02177, allocations: 0.7258 MB / 389.6 MB, free: 13.23 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00248/0.02425, allocations: 1.029 MB / 390.6 MB, free: 12.2 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003088/0.02734, allocations: 1.455 MB / 392.1 MB, free: 10.73 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002036/0.02937, allocations: 0.9145 MB / 393 MB, free: 9.797 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001346/0.03072, allocations: 0.8691 MB / 393.8 MB, free: 8.926 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006112/0.03133, allocations: 0.5726 MB / 394.4 MB, free: 8.352 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001542/0.03148, allocations: 112 kB / 394.5 MB, free: 8.242 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006854/0.03217, allocations: 331.5 kB / 394.8 MB, free: 7.918 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.0323, allocations: 302.8 kB / 395.1 MB, free: 7.621 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003953/0.0327, allocations: 462.8 kB / 395.6 MB, free: 7.168 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.03408, allocations: 1.237 MB / 396.8 MB, free: 5.926 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.03409, allocations: 0 / 396.8 MB, free: 5.926 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.562e-06/0.03409, allocations: 0 / 396.8 MB, free: 5.926 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.467e-05/0.03412, allocations: 0 / 396.8 MB, free: 5.926 MB / 314.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.004153/0.03828, allocations: 2.47 MB / 399.3 MB, free: 3.414 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.03832, allocations: 15.98 kB / 399.3 MB, free: 3.398 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004881/0.0432, allocations: 1.643 MB / 401 MB, free: 1.754 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008747/0.04407, allocations: 0.5522 MB / 401.5 MB, free: 1.176 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.755e-05/0.04413, allocations: 103 kB / 401.6 MB, free: 1.074 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.04427, allocations: 132.3 kB / 401.7 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.04548, allocations: 1.148 MB / 402.9 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.723e-05/0.04551, allocations: 4.188 kB / 402.9 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.748e-05/0.0456, allocations: 59.94 kB / 402.9 MB, free: 15.65 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.707e-05/0.04563, allocations: 43.91 kB / 403 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008909/0.04652, allocations: 0.7008 MB / 403.7 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005758/0.05228, allocations: 4.37 MB / 408.1 MB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.05335, allocations: 0.8896 MB / 409 MB, free: 9.473 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003372/0.05369, allocations: 323.9 kB / 409.3 MB, free: 9.152 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.05379, allocations: 44.97 kB / 409.3 MB, free: 9.109 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.05383, allocations: 50.39 kB / 409.4 MB, free: 9.051 MB / 330.7 MB Notification: Performance of pre-optimization done (n=127): time 4.438e-06/0.05383, allocations: 0 / 409.4 MB, free: 9.051 MB / 330.7 MB Notification: Performance of matching and sorting (n=127): time 0.004508/0.05834, allocations: 2.286 MB / 411.6 MB, free: 6.75 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.05838, allocations: 90.11 kB / 411.7 MB, free: 6.645 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003401/0.05872, allocations: 458.2 kB / 412.2 MB, free: 6.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.266e-05/0.05878, allocations: 45.7 kB / 412.2 MB, free: 6.129 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002641/0.05905, allocations: 0.5191 MB / 412.7 MB, free: 5.602 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002825/0.05933, allocations: 448.1 kB / 413.2 MB, free: 5.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002459/0.05958, allocations: 240.4 kB / 413.4 MB, free: 4.914 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000365/0.05994, allocations: 0.5663 MB / 414 MB, free: 4.336 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.0602, allocations: 194.5 kB / 414.2 MB, free: 4.148 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003983/0.0606, allocations: 0.5391 MB / 414.7 MB, free: 3.477 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000736/0.06133, allocations: 0.8066 MB / 415.5 MB, free: 2.543 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/0.06134, allocations: 4 kB / 415.5 MB, free: 2.539 MB / 330.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.001332/0.06268, allocations: 1.046 MB / 416.6 MB, free: 1.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/0.06271, allocations: 8 kB / 416.6 MB, free: 1.473 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.06272, allocations: 11.94 kB / 416.6 MB, free: 1.461 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008362/0.06356, allocations: 417.1 kB / 417 MB, free: 1.047 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004477/0.06401, allocations: 195.7 kB / 417.2 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001141/0.06412, allocations: 56.06 kB / 417.2 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004208/0.06454, allocations: 119.1 kB / 417.4 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.357e-05/0.0646, allocations: 47.98 kB / 417.4 MB, free: 0.6328 MB / 330.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.0003081/0.0649, allocations: 228.2 kB / 417.6 MB, free: 408 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.06506, allocations: 119.5 kB / 417.7 MB, free: 288 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.06635, allocations: 1.006 MB / 418.8 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/0.06637, allocations: 12 kB / 418.8 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.06638, allocations: 4 kB / 418.8 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.06639, allocations: 7.969 kB / 418.8 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002445/0.06883, allocations: 1.837 MB / 420.6 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.06884, allocations: 0 / 420.6 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003556/0.06919, allocations: 147.8 kB / 420.8 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009453/0.07014, allocations: 390.6 kB / 421.1 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.755e-05/0.07021, allocations: 35.92 kB / 421.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001692/0.07038, allocations: 71.61 kB / 421.2 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.07038, allocations: 0 / 421.2 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/0.07222, allocations: 1.464 MB / 422.7 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003693/0.07259, allocations: 207 kB / 422.9 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.864e-05/0.07268, allocations: 24 kB / 422.9 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003804/0.07306, allocations: 48 kB / 423 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/0.07324, allocations: 81.16 kB / 423.1 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.365e-05/0.07331, allocations: 27.98 kB / 423.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000233/0.07355, allocations: 271 kB / 423.4 MB, free: 10.58 MB / 346.7 MB Notification: Performance of sort global known variables: time 2e-07/0.07355, allocations: 0 / 423.4 MB, free: 10.58 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008475/0.07439, allocations: 355.2 kB / 423.7 MB, free: 10.23 MB / 346.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.0003196/0.07471, allocations: 171 kB / 423.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001384/0.0761, allocations: 0.8545 MB / 424.7 MB, free: 9.195 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.0761, allocations: 0 / 424.7 MB, free: 9.195 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007758/0.07688, allocations: 0.5117 MB / 425.2 MB, free: 8.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005374/0.07741, allocations: 114.9 kB / 425.3 MB, free: 8.574 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003077/0.08049, allocations: 1.863 MB / 427.2 MB, free: 6.664 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001596/0.08065, allocations: 195.2 kB / 427.4 MB, free: 6.453 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003168/0.08097, allocations: 106.4 kB / 427.5 MB, free: 6.344 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003307/0.0813, allocations: 210.1 kB / 427.7 MB, free: 6.137 MB / 346.7 MB Notification: Performance of SimCode: time 2.254e-06/0.0813, allocations: 0 / 427.7 MB, free: 6.137 MB / 346.7 MB Notification: Performance of Templates: time 0.01981/0.1011, allocations: 13.6 MB / 441.3 MB, free: 8.699 MB / 362.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.8392509147524834]