Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.001273/0.001273, allocations: 84 kB / 20.68 MB, free: 1.027 MB / 14.72 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.001417/0.001417, allocations: 163 kB / 23.95 MB, free: 4.156 MB / 14.72 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.398/1.398, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 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.2006/0.2006, allocations: 32.81 MB / 293.5 MB, free: 28 kB / 270.1 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.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 440.2 MB, free: 8.055 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.696e-05/2.831e-05, allocations: 5.234 kB / 440.2 MB, free: 8.051 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002997/0.003025, allocations: 1.723 MB / 441.9 MB, free: 6.312 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.004788, allocations: 0.982 MB / 442.9 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.164e-05/0.004849, allocations: 0 / 442.9 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003471/0.005196, allocations: 107.6 kB / 443 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003229/0.005519, allocations: 127.4 kB / 443.1 MB, free: 5.094 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.005722, allocations: 87.59 kB / 443.2 MB, free: 5.008 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.005914, allocations: 123.7 kB / 443.3 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.447e-05/0.005998, allocations: 8 kB / 443.3 MB, free: 4.879 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.006121, allocations: 75.73 kB / 443.4 MB, free: 4.805 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.006239, allocations: 67.8 kB / 443.5 MB, free: 4.738 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.006259, allocations: 7.938 kB / 443.5 MB, free: 4.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.006373, allocations: 55.92 kB / 443.5 MB, free: 4.676 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.316e-05/0.006426, allocations: 23.92 kB / 443.6 MB, free: 4.652 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.872e-05/0.006475, allocations: 35.84 kB / 443.6 MB, free: 4.617 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.006701, allocations: 139.5 kB / 443.7 MB, free: 4.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.006703, allocations: 0 / 443.7 MB, free: 4.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.006704, allocations: 0 / 443.7 MB, free: 4.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.006708, allocations: 0 / 443.7 MB, free: 4.48 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005525/0.00726, allocations: 381.2 kB / 444.1 MB, free: 4.078 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.007294, allocations: 12.03 kB / 444.1 MB, free: 4.066 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.00734, allocations: 12.84 kB / 444.1 MB, free: 4.055 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.00758, allocations: 161.2 kB / 444.3 MB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.007596, allocations: 8.359 kB / 444.3 MB, free: 3.863 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.007616, allocations: 8.375 kB / 444.3 MB, free: 3.855 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.007763, allocations: 58.23 kB / 444.4 MB, free: 3.793 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.007775, allocations: 3.938 kB / 444.4 MB, free: 3.789 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.007784, allocations: 0 / 444.4 MB, free: 3.789 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.007787, allocations: 0 / 444.4 MB, free: 3.789 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.988e-05/0.007877, allocations: 35.91 kB / 444.4 MB, free: 3.754 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/0.008243, allocations: 240.5 kB / 444.6 MB, free: 3.488 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002343/0.008478, allocations: 66.48 kB / 444.7 MB, free: 3.414 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.883e-05/0.008546, allocations: 20.97 kB / 444.7 MB, free: 3.391 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.008559, allocations: 4 kB / 444.7 MB, free: 3.387 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/0.008715, allocations: 79.31 kB / 444.8 MB, free: 3.297 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.008716, allocations: 0 / 444.8 MB, free: 3.297 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007542/0.00947, allocations: 253.2 kB / 445.1 MB, free: 3.043 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.009519, allocations: 63.39 kB / 445.1 MB, free: 2.969 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.009773, allocations: 243.8 kB / 445.4 MB, free: 2.719 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.009799, allocations: 25.7 kB / 445.4 MB, free: 2.688 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.443e-05/0.009874, allocations: 116.1 kB / 445.5 MB, free: 2.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.009916, allocations: 39.73 kB / 445.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.915e-05/0.009965, allocations: 33.7 kB / 445.6 MB, free: 2.492 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.01012, allocations: 330.8 kB / 445.9 MB, free: 2.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.776e-05/0.0102, allocations: 31.98 kB / 445.9 MB, free: 2.129 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.642e-05/0.01029, allocations: 45.7 kB / 446 MB, free: 2.078 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.01045, allocations: 81.64 kB / 446 MB, free: 1.992 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.01045, allocations: 0 / 446 MB, free: 1.992 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002544/0.0107, allocations: 141.5 kB / 446.2 MB, free: 1.848 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.01072, allocations: 4 kB / 446.2 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.01072, allocations: 4.031 kB / 446.2 MB, free: 1.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.01074, allocations: 7.984 kB / 446.2 MB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.592e-05/0.01082, allocations: 27.92 kB / 446.2 MB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.01083, allocations: 0 / 446.2 MB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.944e-05/0.01087, allocations: 4 kB / 446.2 MB, free: 1.801 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.01089, allocations: 7.984 kB / 446.2 MB, free: 1.793 MB / 366.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 (13): * Single equations (assignments): 13 * 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.0001263/0.01101, allocations: 134.4 kB / 446.4 MB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.01105, allocations: 19.89 kB / 446.4 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003209/0.01137, allocations: 151.1 kB / 446.5 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.01137, allocations: 7.938 kB / 446.5 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.01137, allocations: 0 / 446.5 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.01138, allocations: 0 / 446.5 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005475/0.01192, allocations: 407.7 kB / 446.9 MB, free: 1.031 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.01192, allocations: 0 / 446.9 MB, free: 1.031 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.434e-05/0.01198, allocations: 15.98 kB / 447 MB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.01198, allocations: 4 kB / 447 MB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.01199, allocations: 0 / 447 MB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.012, allocations: 4 kB / 447 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.148e-06/0.012, allocations: 11.94 kB / 447 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/0.01231, allocations: 245.1 kB / 447.2 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.248e-05/0.01233, allocations: 11.91 kB / 447.2 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.01236, allocations: 8 kB / 447.2 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.198e-05/0.01245, allocations: 7.984 kB / 447.2 MB, free: 0.707 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.01249, allocations: 11.92 kB / 447.3 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.01251, allocations: 11.94 kB / 447.3 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001875/0.01269, allocations: 195 kB / 447.5 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01269, allocations: 0 / 447.5 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.01296, allocations: 31.92 kB / 447.5 MB, free: 472 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002004/0.01497, allocations: 0.5527 MB / 448 MB, free: 156 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002127/0.01518, allocations: 79.84 kB / 448.1 MB, free: 76 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.01518, allocations: 0 / 448.1 MB, free: 76 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.354e-05/0.01527, allocations: 39.92 kB / 448.2 MB, free: 36 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.01561, allocations: 32.09 kB / 448.2 MB, free: 4 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1525/0.1681, allocations: 305.5 kB / 448.5 MB, free: 21.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.026e-05/0.1682, allocations: 111.4 kB / 448.6 MB, free: 21.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.176e-05/0.1683, allocations: 25.23 kB / 448.6 MB, free: 21.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.316e-05/0.1683, allocations: 18.59 kB / 448.6 MB, free: 21.13 MB / 366.1 MB Notification: Performance of SimCode: time 8.22e-07/0.1683, allocations: 0 / 448.6 MB, free: 21.13 MB / 366.1 MB Notification: Performance of Templates: time 0.005332/0.1737, allocations: 2.099 MB / 450.7 MB, free: 21 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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: 4.550796695053577]