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.002558/0.002558, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.00284/0.00284, allocations: 161.3 kB / 24.27 MB, free: 152 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 1.636/1.636, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.4228/0.4228, allocations: 34.27 MB / 295.3 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 179] 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 1.783e-06/1.783e-06, allocations: 0 / 377.3 MB, free: 2.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.842e-05, allocations: 2.312 kB / 377.3 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01103/0.01105, allocations: 7.453 MB / 384.7 MB, free: 11.49 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005442/0.0165, allocations: 2.353 MB / 387.1 MB, free: 9.133 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006279/0.01712, allocations: 27.94 kB / 387.1 MB, free: 9.105 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004745/0.02187, allocations: 1.913 MB / 389 MB, free: 7.184 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002361/0.02423, allocations: 0.7259 MB / 389.8 MB, free: 6.453 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002563/0.02679, allocations: 1.048 MB / 390.8 MB, free: 5.402 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002227/0.02902, allocations: 1.455 MB / 392.3 MB, free: 3.938 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001633/0.03065, allocations: 0.9183 MB / 393.2 MB, free: 3 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001335/0.03199, allocations: 0.8653 MB / 394 MB, free: 2.133 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008626/0.03285, allocations: 0.5648 MB / 394.6 MB, free: 1.566 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001976/0.03305, allocations: 116 kB / 394.7 MB, free: 1.453 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000857/0.03391, allocations: 323.6 kB / 395 MB, free: 1.137 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003047/0.03421, allocations: 310.8 kB / 395.3 MB, free: 0.832 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006369/0.03485, allocations: 454.8 kB / 395.8 MB, free: 396 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002845/0.03769, allocations: 1.83 MB / 397.6 MB, free: 14.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.0377, allocations: 0 / 397.6 MB, free: 14.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.0377, allocations: 0 / 397.6 MB, free: 14.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.286e-05/0.03772, allocations: 0 / 397.6 MB, free: 14.55 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.008313/0.04604, allocations: 2.529 MB / 400.1 MB, free: 11.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.04608, allocations: 8.031 kB / 400.1 MB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01002/0.0561, allocations: 1.651 MB / 401.8 MB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.05755, allocations: 0.5666 MB / 402.4 MB, free: 9.723 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.05766, allocations: 103 kB / 402.5 MB, free: 9.621 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002557/0.05792, allocations: 136.3 kB / 402.6 MB, free: 9.488 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003326/0.06124, allocations: 1.636 MB / 404.2 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.069e-05/0.06128, allocations: 192 / 404.2 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001416/0.06143, allocations: 55.94 kB / 404.3 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.505e-05/0.06147, allocations: 36 kB / 404.3 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002974/0.06444, allocations: 1.447 MB / 405.8 MB, free: 6.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009571/0.07402, allocations: 4.939 MB / 410.7 MB, free: 1.148 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002279/0.07629, allocations: 1.108 MB / 411.8 MB, free: 40 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.07738, allocations: 0.5559 MB / 412.4 MB, free: 15.47 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001675/0.07755, allocations: 48.97 kB / 412.4 MB, free: 15.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.746e-05/0.0776, allocations: 46.39 kB / 412.5 MB, free: 15.37 MB / 394.7 MB Notification: Performance of pre-optimization done (n=127): time 3.807e-06/0.07761, allocations: 4 kB / 412.5 MB, free: 15.37 MB / 394.7 MB Notification: Performance of matching and sorting (n=127): time 0.01008/0.08769, allocations: 3.024 MB / 415.5 MB, free: 12.32 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.913e-05/0.08777, allocations: 94.11 kB / 415.6 MB, free: 12.21 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007336/0.0885, allocations: 0.5375 MB / 416.1 MB, free: 11.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001009/0.08861, allocations: 45.7 kB / 416.2 MB, free: 11.61 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004496/0.08906, allocations: 0.5347 MB / 416.7 MB, free: 11.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004981/0.08955, allocations: 464.2 kB / 417.2 MB, free: 10.61 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000445/0.09, allocations: 256.5 kB / 417.4 MB, free: 10.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0006599/0.09066, allocations: 0.586 MB / 418 MB, free: 9.758 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009514/0.09161, allocations: 430.4 kB / 418.4 MB, free: 9.336 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/0.09295, allocations: 0.7931 MB / 419.2 MB, free: 8.414 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00241/0.09536, allocations: 1.299 MB / 420.5 MB, free: 6.984 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.09537, allocations: 0 / 420.5 MB, free: 6.984 MB / 394.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003868/0.09924, allocations: 1.608 MB / 422.1 MB, free: 5.363 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.09927, allocations: 8 kB / 422.1 MB, free: 5.355 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/0.09929, allocations: 8 kB / 422.1 MB, free: 5.348 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001852/0.1011, allocations: 0.5324 MB / 422.7 MB, free: 4.812 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008846/0.102, allocations: 191.7 kB / 422.8 MB, free: 4.625 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002288/0.1023, allocations: 64.09 kB / 422.9 MB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007565/0.103, allocations: 119.1 kB / 423 MB, free: 4.441 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.1031, allocations: 55.98 kB / 423.1 MB, free: 4.387 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.0006103/0.1037, allocations: 320.2 kB / 423.4 MB, free: 4.062 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002798/0.104, allocations: 115.5 kB / 423.5 MB, free: 3.949 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003572/0.1076, allocations: 1.549 MB / 425.1 MB, free: 2.383 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.08e-05/0.1076, allocations: 16 kB / 425.1 MB, free: 2.367 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1076, allocations: 0 / 425.1 MB, free: 2.367 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.1076, allocations: 3.984 kB / 425.1 MB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005433/0.1131, allocations: 2.705 MB / 427.8 MB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.1131, allocations: 3.938 kB / 427.8 MB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000717/0.1138, allocations: 139.8 kB / 427.9 MB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001656/0.1154, allocations: 0.53 MB / 428.4 MB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.993e-05/0.1155, allocations: 27.98 kB / 428.5 MB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003505/0.1159, allocations: 75.62 kB / 428.6 MB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1159, allocations: 0 / 428.6 MB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004705/0.1206, allocations: 2.39 MB / 430.9 MB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005818/0.1212, allocations: 203.1 kB / 431.1 MB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.1213, allocations: 24 kB / 431.2 MB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006126/0.1219, allocations: 44.02 kB / 431.2 MB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002197/0.1221, allocations: 89.14 kB / 431.3 MB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.736e-05/0.1222, allocations: 36 kB / 431.3 MB, free: 12.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004619/0.1227, allocations: 339 kB / 431.7 MB, free: 11.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1227, allocations: 0 / 431.7 MB, free: 11.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001556/0.1243, allocations: 355.2 kB / 432 MB, free: 11.34 MB / 410.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.0003929/0.1247, allocations: 159 kB / 432.2 MB, free: 11.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003405/0.1281, allocations: 1.327 MB / 433.5 MB, free: 9.852 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.1281, allocations: 0 / 433.5 MB, free: 9.852 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001877/0.1299, allocations: 0.7345 MB / 434.2 MB, free: 9.113 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009914/0.1309, allocations: 121.9 kB / 434.3 MB, free: 8.992 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004251/0.1352, allocations: 2.086 MB / 436.4 MB, free: 6.863 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005571/0.1357, allocations: 462.3 kB / 436.9 MB, free: 6.375 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004582/0.1362, allocations: 106.4 kB / 437 MB, free: 6.266 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.1364, allocations: 68.47 kB / 437 MB, free: 6.195 MB / 410.7 MB Notification: Performance of SimCode: time 1.923e-06/0.1364, allocations: 0 / 437 MB, free: 6.195 MB / 410.7 MB Notification: Performance of Templates: time 0.1656/0.302, allocations: 12.3 MB / 449.3 MB, free: 99.03 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.881497350987047]