Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.0009995/0.0009995, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001102/0.001102, allocations: 161.4 kB / 24.56 MB, free: 16 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.012/1.012, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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.2624/0.2624, allocations: 34.26 MB / 295.7 MB, free: 0.7617 MB / 266.7 MB " [Timeout remaining time 180] 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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 378.1 MB, free: 2.562 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.46e-05/1.588e-05, allocations: 2.312 kB / 378.1 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.00205/0.002066, allocations: 1.762 MB / 379.9 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.003214, allocations: 1.013 MB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.714e-05/0.003281, allocations: 0 / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002366/0.003518, allocations: 43.7 kB / 380.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002529/0.003771, allocations: 103.5 kB / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001414/0.003912, allocations: 79.61 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.004048, allocations: 99.69 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.413e-05/0.004122, allocations: 11.98 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.981e-05/0.004192, allocations: 55.77 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.659e-05/0.004258, allocations: 31.91 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.004272, allocations: 4 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.945e-05/0.004342, allocations: 43.92 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.512e-05/0.004387, allocations: 27.86 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.52e-05/0.004422, allocations: 23.91 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.004572, allocations: 103.6 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.004574, allocations: 0 / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.004574, allocations: 0 / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.004578, allocations: 0 / 381.5 MB, free: 15.14 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003866/0.004964, allocations: 455.8 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.004995, allocations: 8.031 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.005032, allocations: 16.89 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.005176, allocations: 156.9 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.00519, allocations: 4.375 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.005213, allocations: 4.359 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.005317, allocations: 66.88 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.005326, allocations: 3.938 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.005334, allocations: 0 / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.005341, allocations: 3.984 kB / 382.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.155e-05/0.005372, allocations: 8 kB / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002743/0.005647, allocations: 291.8 kB / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.995e-05/0.005747, allocations: 59.11 kB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.907e-05/0.005776, allocations: 19.61 kB / 382.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.005787, allocations: 0 / 382.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.88e-05/0.005876, allocations: 73.05 kB / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 8.21e-07/0.005877, allocations: 0 / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003549/0.006232, allocations: 161.3 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.00626, allocations: 51.41 kB / 382.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.006394, allocations: 233.9 kB / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.006407, allocations: 33.7 kB / 383.1 MB, free: 13.35 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.553e-05/0.006462, allocations: 154.8 kB / 383.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.006489, allocations: 27.78 kB / 383.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.006522, allocations: 31.38 kB / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.006645, allocations: 0.4923 MB / 383.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.532e-05/0.00667, allocations: 15.98 kB / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.903e-05/0.006709, allocations: 43.23 kB / 383.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.616e-05/0.006765, allocations: 55.36 kB / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.006766, allocations: 0 / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001014/0.006868, allocations: 89.58 kB / 384 MB, free: 12.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.00688, allocations: 11.98 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.006884, allocations: 0 / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.006895, allocations: 0 / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.955e-05/0.006954, allocations: 12 kB / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.006959, allocations: 4 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.668e-05/0.006986, allocations: 7.953 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.006993, allocations: 7.984 kB / 384.1 MB, free: 12.36 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 (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 6.989e-05/0.007063, allocations: 168.5 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.513e-05/0.007078, allocations: 11.95 kB / 384.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001396/0.007218, allocations: 107.1 kB / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.007221, allocations: 4 kB / 384.4 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.007224, allocations: 0 / 384.4 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.007227, allocations: 0 / 384.4 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.007498, allocations: 396.9 kB / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.0075, allocations: 0 / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.579e-05/0.007526, allocations: 11.98 kB / 384.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.007527, allocations: 4 kB / 384.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.007534, allocations: 0 / 384.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.007535, allocations: 0 / 384.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.007537, allocations: 8.031 kB / 384.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.007673, allocations: 255.4 kB / 385 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.135e-05/0.007684, allocations: 11.91 kB / 385 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.0077, allocations: 4 kB / 385 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.128e-05/0.007742, allocations: 8.359 kB / 385 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.582e-05/0.007767, allocations: 4 kB / 385 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.00778, allocations: 3.984 kB / 385 MB, free: 11.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.916e-05/0.007859, allocations: 184.1 kB / 385.2 MB, free: 11.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007859, allocations: 0 / 385.2 MB, free: 11.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001643/0.008023, allocations: 23.94 kB / 385.2 MB, free: 11.09 MB / 362.7 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 (9): * Single equations (assignments): 7 * 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.0009159/0.008939, allocations: 465.4 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001009/0.00904, allocations: 51.61 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.009041, allocations: 0 / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.922e-05/0.00908, allocations: 27.67 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.009297, allocations: 31.95 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003503/0.009647, allocations: 229.8 kB / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.139e-05/0.009688, allocations: 75.45 kB / 386.1 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.143e-05/0.00972, allocations: 8.984 kB / 386.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.082e-05/0.009751, allocations: 20.48 kB / 386.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.009751, allocations: 0 / 386.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of Templates: time 0.00319/0.01294, allocations: 1.875 MB / 388 MB, free: 8.453 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3426866526715457]