Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.002404/0.002404, allocations: 91.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.002752/0.002752, allocations: 165.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.629/1.629, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.3662/0.3662, allocations: 34.26 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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 377.4 MB, free: 2.859 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.673e-05/3.849e-05, allocations: 2.312 kB / 377.4 MB, free: 2.855 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.005395/0.005433, allocations: 2.233 MB / 379.6 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003784/0.009218, allocations: 1.291 MB / 380.9 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002189/0.009436, allocations: 7.938 kB / 380.9 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005879/0.01002, allocations: 135.3 kB / 381 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009592/0.01098, allocations: 278.6 kB / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006559/0.01164, allocations: 195.4 kB / 381.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009127/0.01255, allocations: 474.5 kB / 382 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.01274, allocations: 41.25 kB / 382 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007851/0.01352, allocations: 383.1 kB / 382.4 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003252/0.01385, allocations: 143.5 kB / 382.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.064e-05/0.01394, allocations: 20 kB / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002506/0.01419, allocations: 71.92 kB / 382.6 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000284/0.01448, allocations: 163.4 kB / 382.8 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002022/0.01468, allocations: 107.4 kB / 382.9 MB, free: 13.33 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009484/0.01563, allocations: 470.1 kB / 383.3 MB, free: 12.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.01563, allocations: 7.984 kB / 383.3 MB, free: 12.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.01564, allocations: 0 / 383.3 MB, free: 12.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.01565, allocations: 0 / 383.3 MB, free: 12.86 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.002085/0.01773, allocations: 0.9688 MB / 384.3 MB, free: 11.85 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.01778, allocations: 8.031 kB / 384.3 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002357/0.01802, allocations: 84.47 kB / 384.4 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008826/0.0189, allocations: 385 kB / 384.8 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.01894, allocations: 16.38 kB / 384.8 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.076e-05/0.019, allocations: 16.38 kB / 384.8 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006016/0.0196, allocations: 196.9 kB / 385 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/0.01963, allocations: 7.891 kB / 385 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.955e-05/0.01966, allocations: 4 kB / 385 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.01967, allocations: 4 kB / 385 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003756/0.02005, allocations: 87.86 kB / 385.1 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/0.02189, allocations: 1.02 MB / 386.1 MB, free: 9.938 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.02294, allocations: 280.4 kB / 386.4 MB, free: 9.613 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002931/0.02324, allocations: 90.83 kB / 386.5 MB, free: 9.508 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.02327, allocations: 8 kB / 386.5 MB, free: 9.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006269/0.0239, allocations: 221.4 kB / 386.7 MB, free: 9.254 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 2.625e-06/0.0239, allocations: 4 kB / 386.7 MB, free: 9.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.004353/0.02825, allocations: 1.225 MB / 387.9 MB, free: 8.016 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001623/0.02841, allocations: 144.4 kB / 388.1 MB, free: 7.844 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001736/0.03015, allocations: 0.8355 MB / 388.9 MB, free: 6.988 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.287e-05/0.03022, allocations: 41.69 kB / 389 MB, free: 6.941 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005361/0.03076, allocations: 371.7 kB / 389.3 MB, free: 6.574 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002505/0.03101, allocations: 158.8 kB / 389.5 MB, free: 6.418 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002231/0.03123, allocations: 99.8 kB / 389.6 MB, free: 6.312 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003652/0.0316, allocations: 0.5004 MB / 390.1 MB, free: 5.805 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003444/0.03194, allocations: 108.9 kB / 390.2 MB, free: 5.699 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005216/0.03246, allocations: 206.4 kB / 390.4 MB, free: 5.465 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000967/0.03343, allocations: 345.6 kB / 390.7 MB, free: 5.094 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.03343, allocations: 0 / 390.7 MB, free: 5.094 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001419/0.03485, allocations: 464.8 kB / 391.2 MB, free: 4.633 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.03488, allocations: 8 kB / 391.2 MB, free: 4.625 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.03489, allocations: 0 / 391.2 MB, free: 4.625 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/0.03491, allocations: 4.125 kB / 391.2 MB, free: 4.621 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004925/0.03541, allocations: 95.83 kB / 391.3 MB, free: 4.527 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.03542, allocations: 4 kB / 391.3 MB, free: 4.523 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002772/0.0357, allocations: 15.98 kB / 391.3 MB, free: 4.508 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.916e-05/0.03575, allocations: 16 kB / 391.3 MB, free: 4.492 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0003449/0.03609, allocations: 210.9 kB / 391.5 MB, free: 4.277 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000217/0.03631, allocations: 99.41 kB / 391.6 MB, free: 4.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/0.03789, allocations: 0.4967 MB / 392.1 MB, free: 3.672 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.0379, allocations: 4 kB / 392.1 MB, free: 3.668 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.0379, allocations: 4 kB / 392.1 MB, free: 3.664 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.03792, allocations: 7.984 kB / 392.1 MB, free: 3.656 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003281/0.0412, allocations: 1.566 MB / 393.7 MB, free: 2.012 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.04121, allocations: 7.938 kB / 393.7 MB, free: 2.004 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003354/0.04154, allocations: 63.91 kB / 393.8 MB, free: 1.941 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.109e-05/0.04155, allocations: 4 kB / 393.8 MB, free: 1.938 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.187e-05/0.04161, allocations: 19.98 kB / 393.8 MB, free: 1.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-05/0.04162, allocations: 8.25 kB / 393.8 MB, free: 1.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.04162, allocations: 4 kB / 393.8 MB, free: 1.906 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001884/0.04351, allocations: 1.044 MB / 394.8 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003338/0.04384, allocations: 103.5 kB / 394.9 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.04396, allocations: 19.98 kB / 395 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004988/0.04446, allocations: 15.94 kB / 395 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.0446, allocations: 47.86 kB / 395 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.306e-05/0.04468, allocations: 24 kB / 395.1 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001071/0.04575, allocations: 0.5302 MB / 395.6 MB, free: 72 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.04575, allocations: 4 kB / 395.6 MB, free: 68 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009997/0.04675, allocations: 91.97 kB / 395.7 MB, free: 15.97 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.005388/0.05214, allocations: 0.585 MB / 396.3 MB, free: 15.63 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.05337, allocations: 323.8 kB / 396.6 MB, free: 15.31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/0.05338, allocations: 4 kB / 396.6 MB, free: 15.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005494/0.05393, allocations: 189 kB / 396.8 MB, free: 15.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/0.05554, allocations: 137.1 kB / 396.9 MB, free: 14.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.05781, allocations: 1.093 MB / 398 MB, free: 13.81 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005146/0.05833, allocations: 309.9 kB / 398.3 MB, free: 13.49 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002825/0.05861, allocations: 75.25 kB / 398.4 MB, free: 13.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.05879, allocations: 52.48 kB / 398.4 MB, free: 13.36 MB / 378.7 MB Notification: Performance of SimCode: time 1.462e-06/0.05879, allocations: 0 / 398.4 MB, free: 13.36 MB / 378.7 MB Notification: Performance of Templates: time 0.01834/0.07713, allocations: 5.768 MB / 404.2 MB, free: 7.684 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.3655307228909805]