Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.00146/0.00146, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.00164/0.00164, allocations: 161.7 kB / 24.26 MB, free: 176 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.611/1.611, 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.4274/0.4274, allocations: 34.27 MB / 295.3 MB, free: 0.6836 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.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 377.4 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.593e-05/3.754e-05, allocations: 6.312 kB / 377.4 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.004583/0.00462, allocations: 1.73 MB / 379.1 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002141/0.006761, allocations: 0.9859 MB / 380.1 MB, free: 148 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.006883, allocations: 3.938 kB / 380.1 MB, free: 144 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003767/0.00726, allocations: 51.69 kB / 380.2 MB, free: 92 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000504/0.007764, allocations: 95.62 kB / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.008074, allocations: 79.52 kB / 380.3 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002897/0.008363, allocations: 139.5 kB / 380.5 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.008487, allocations: 7.984 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.008664, allocations: 71.81 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.008793, allocations: 47.88 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.008818, allocations: 8 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.008981, allocations: 59.92 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.427e-05/0.009076, allocations: 35.84 kB / 380.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.761e-05/0.009143, allocations: 19.92 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.009465, allocations: 159.4 kB / 380.9 MB, free: 15.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.009468, allocations: 0 / 380.9 MB, free: 15.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.009469, allocations: 0 / 380.9 MB, free: 15.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.009474, allocations: 0 / 380.9 MB, free: 15.38 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006693/0.01014, allocations: 361.4 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.01018, allocations: 12.03 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.376e-05/0.01025, allocations: 16.89 kB / 381.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.01054, allocations: 170 kB / 381.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.01055, allocations: 4.375 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.01058, allocations: 4.375 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.01079, allocations: 70.22 kB / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.0108, allocations: 11.94 kB / 381.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.01082, allocations: 3.984 kB / 381.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.996e-06/0.01083, allocations: 3.984 kB / 381.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.01099, allocations: 55.89 kB / 381.6 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005122/0.01151, allocations: 264.4 kB / 381.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003503/0.01186, allocations: 90.5 kB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.01197, allocations: 36.83 kB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.01199, allocations: 0 / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002035/0.01219, allocations: 83.38 kB / 382 MB, free: 14.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.01219, allocations: 0 / 382 MB, free: 14.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.001587/0.01378, allocations: 325.8 kB / 382.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.01383, allocations: 59.41 kB / 382.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.01411, allocations: 206.9 kB / 382.6 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.01414, allocations: 33.69 kB / 382.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.786e-05/0.01423, allocations: 104.4 kB / 382.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.084e-05/0.01429, allocations: 43.78 kB / 382.8 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.085e-05/0.01436, allocations: 33.7 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.01455, allocations: 330.8 kB / 383.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.01466, allocations: 39.97 kB / 383.2 MB, free: 12.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.01479, allocations: 61.64 kB / 383.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/0.01506, allocations: 113.7 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.01506, allocations: 0 / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003924/0.01545, allocations: 165.4 kB / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.01547, allocations: 8 kB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.01548, allocations: 0 / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.0155, allocations: 0 / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.01561, allocations: 27.98 kB / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.01562, allocations: 4 kB / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.2e-05/0.01567, allocations: 0 / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.01568, allocations: 4 kB / 383.5 MB, free: 12.51 MB / 362.7 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 (15): * Single equations (assignments): 15 * 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.0001564/0.01584, allocations: 141.7 kB / 383.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/0.01589, allocations: 19.91 kB / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004523/0.01634, allocations: 198.5 kB / 383.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.01634, allocations: 0 / 383.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.01635, allocations: 0 / 383.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.01635, allocations: 0 / 383.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007941/0.01715, allocations: 459.7 kB / 384.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.01715, allocations: 3.938 kB / 384.4 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.525e-05/0.01723, allocations: 28.05 kB / 384.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.01724, allocations: 0 / 384.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.01725, allocations: 4 kB / 384.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.01726, allocations: 0 / 384.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.01726, allocations: 3.938 kB / 384.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004701/0.01773, allocations: 293 kB / 384.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.477e-05/0.01776, allocations: 7.953 kB / 384.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.969e-05/0.0178, allocations: 8 kB / 384.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.867e-05/0.01789, allocations: 3.984 kB / 384.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.754e-05/0.01795, allocations: 19.92 kB / 384.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.01797, allocations: 8 kB / 384.7 MB, free: 11.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001775/0.01815, allocations: 159.2 kB / 384.9 MB, free: 11.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01815, allocations: 4 kB / 384.9 MB, free: 11.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003117/0.01846, allocations: 35.89 kB / 384.9 MB, free: 11.06 MB / 362.7 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 (16): * Single equations (assignments): 14 * 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.002747/0.02121, allocations: 0.5479 MB / 385.5 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003154/0.02153, allocations: 115.8 kB / 385.6 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.02153, allocations: 0 / 385.6 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.02168, allocations: 55.98 kB / 385.6 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.02209, allocations: 35.34 kB / 385.7 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007401/0.02283, allocations: 302.8 kB / 386 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.02296, allocations: 98.27 kB / 386.1 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.02306, allocations: 37.58 kB / 386.1 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.955e-05/0.02313, allocations: 28.48 kB / 386.1 MB, free: 10.04 MB / 362.7 MB Notification: Performance of SimCode: time 7.72e-07/0.02313, allocations: 0 / 386.1 MB, free: 10.04 MB / 362.7 MB Notification: Performance of Templates: time 0.006869/0.03, allocations: 2.364 MB / 388.5 MB, free: 7.699 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.974274397012778]