Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 110 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 187.5 kB / 24.51 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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.2418/0.2418, allocations: 44.92 MB / 353.5 MB, free: 11.82 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 67.89 kB / 497.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4603/0.4623, allocations: 64.28 MB / 0.5489 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.004924/0.4673, allocations: 1.74 MB / 0.5506 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.4692, allocations: 0.9007 MB / 0.5514 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.571e-05/0.4693, allocations: 5.281 kB / 0.5515 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003948/0.4697, allocations: 52.66 kB / 0.5515 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002829/0.4699, allocations: 60.75 kB / 0.5516 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004124/0.4704, allocations: 111.2 kB / 0.5517 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002631/0.4706, allocations: 101.8 kB / 0.5518 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.4708, allocations: 8.328 kB / 0.5518 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.4709, allocations: 44.03 kB / 0.5518 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.471, allocations: 34.41 kB / 0.5518 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.06e-05/0.4711, allocations: 4 kB / 0.5518 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.4712, allocations: 50.11 kB / 0.5519 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.34e-05/0.4713, allocations: 28.23 kB / 0.5519 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.069e-05/0.4714, allocations: 40.27 kB / 0.552 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003168/0.4717, allocations: 133.3 kB / 0.5521 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4717, allocations: 0 / 0.5521 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4717, allocations: 0 / 0.5521 GB, free: 10.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.4717, allocations: 0 / 0.5521 GB, free: 10.68 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007797/0.4725, allocations: 368.7 kB / 0.5524 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.4725, allocations: 9.984 kB / 0.5525 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.884e-05/0.4726, allocations: 19.5 kB / 0.5525 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.473, allocations: 163.7 kB / 0.5526 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.473, allocations: 1.438 kB / 0.5526 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.473, allocations: 10.28 kB / 0.5526 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.4732, allocations: 54.61 kB / 0.5527 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.4732, allocations: 0 / 0.5527 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.4732, allocations: 1.062 kB / 0.5527 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.4732, allocations: 5.031 kB / 0.5527 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.211e-05/0.4733, allocations: 17.77 kB / 0.5527 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005549/0.4739, allocations: 270.3 kB / 0.553 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.4741, allocations: 52.97 kB / 0.553 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.771e-05/0.4741, allocations: 19.97 kB / 0.553 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.4742, allocations: 5 kB / 0.553 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002021/0.4744, allocations: 69.73 kB / 0.5531 GB, free: 9.672 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.787e-06/0.4744, allocations: 3.984 kB / 0.5531 GB, free: 9.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006406/0.475, allocations: 180 kB / 0.5533 GB, free: 9.562 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/0.4751, allocations: 52.5 kB / 0.5533 GB, free: 9.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003305/0.4754, allocations: 259.1 kB / 0.5536 GB, free: 9.328 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.4754, allocations: 34.73 kB / 0.5536 GB, free: 9.289 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.997e-05/0.4755, allocations: 112.2 kB / 0.5537 GB, free: 9.184 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/0.4756, allocations: 31.39 kB / 0.5538 GB, free: 9.156 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-05/0.4756, allocations: 24.11 kB / 0.5538 GB, free: 9.133 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.4758, allocations: 335.4 kB / 0.5541 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.399e-05/0.4758, allocations: 19.23 kB / 0.5541 GB, free: 8.793 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.566e-05/0.4759, allocations: 35.48 kB / 0.5541 GB, free: 8.766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.4761, allocations: 63.16 kB / 0.5542 GB, free: 8.723 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4761, allocations: 0 / 0.5542 GB, free: 8.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002106/0.4763, allocations: 100.8 kB / 0.5543 GB, free: 8.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.4763, allocations: 5.906 kB / 0.5543 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.4763, allocations: 384 / 0.5543 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.4763, allocations: 1.188 kB / 0.5543 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.4764, allocations: 25.7 kB / 0.5543 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.4764, allocations: 5.281 kB / 0.5543 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.186e-05/0.4765, allocations: 9.031 kB / 0.5543 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.4765, allocations: 7.516 kB / 0.5544 GB, free: 8.633 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001436/0.4766, allocations: 136.8 kB / 0.5545 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.4767, allocations: 15.28 kB / 0.5545 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002864/0.477, allocations: 118 kB / 0.5546 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.477, allocations: 1.344 kB / 0.5546 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.477, allocations: 3.938 kB / 0.5546 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.477, allocations: 5.094 kB / 0.5546 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005735/0.4776, allocations: 373.8 kB / 0.555 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.4776, allocations: 1.156 kB / 0.555 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.51e-05/0.4776, allocations: 7.938 kB / 0.555 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4776, allocations: 0 / 0.555 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.4776, allocations: 10.41 kB / 0.555 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.4776, allocations: 1.156 kB / 0.555 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4776, allocations: 0 / 0.555 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.4779, allocations: 213.7 kB / 0.5552 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.632e-05/0.478, allocations: 12.47 kB / 0.5552 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.478, allocations: 9.906 kB / 0.5552 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.217e-05/0.4781, allocations: 2.312 kB / 0.5552 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.4781, allocations: 6.328 kB / 0.5552 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.4781, allocations: 3.406 kB / 0.5552 GB, free: 7.848 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002356/0.4784, allocations: 199.8 kB / 0.5554 GB, free: 7.723 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4784, allocations: 4 kB / 0.5554 GB, free: 7.719 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.4787, allocations: 28.98 kB / 0.5555 GB, free: 7.707 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001758/0.4804, allocations: 466.9 kB / 0.5559 GB, free: 7.484 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002188/0.4806, allocations: 63.61 kB / 0.556 GB, free: 7.453 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4806, allocations: 0 / 0.556 GB, free: 7.453 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.777e-05/0.4807, allocations: 23.66 kB / 0.556 GB, free: 7.445 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.4811, allocations: 34.05 kB / 0.556 GB, free: 7.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006256/0.4817, allocations: 282 kB / 0.5563 GB, free: 7.223 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005038/0.4822, allocations: 0.7232 MB / 0.557 GB, free: 6.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.231e-05/0.4823, allocations: 17.75 kB / 0.557 GB, free: 6.488 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.572e-05/0.4823, allocations: 15.62 kB / 0.557 GB, free: 6.48 MB / 398.1 MB Notification: Performance of SimCode: time 6.62e-07/0.4823, allocations: 0 / 0.557 GB, free: 6.48 MB / 398.1 MB Notification: Performance of Templates: time 0.005648/0.488, allocations: 1.79 MB / 0.5588 GB, free: 5.133 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.4502573581412435]