Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.00148/0.00148, allocations: 83.59 kB / 21.18 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.001832/0.001832, allocations: 165 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 0.9937/0.9937, allocations: 177.1 MB / 205 MB, free: 5.621 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.2789/0.2789, allocations: 34.27 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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 378.1 MB, free: 2.562 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.273e-05/2.404e-05, allocations: 2.312 kB / 378.1 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.01286/0.01289, allocations: 1.945 MB / 380.1 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00975/0.02264, allocations: 1.11 MB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.02276, allocations: 3.938 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004812/0.02324, allocations: 223.2 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005186/0.02376, allocations: 223 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.02406, allocations: 123.5 kB / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003206/0.02438, allocations: 263.2 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.02448, allocations: 17.95 kB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001946/0.02468, allocations: 143.7 kB / 382.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.02488, allocations: 159.6 kB / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.0249, allocations: 8 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.02504, allocations: 67.91 kB / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.039e-05/0.02512, allocations: 59.78 kB / 382.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.79e-05/0.02521, allocations: 47.78 kB / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002991/0.02551, allocations: 199.2 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.02552, allocations: 0 / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.02552, allocations: 3.938 kB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.02552, allocations: 0 / 382.7 MB, free: 13.97 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006964/0.02622, allocations: 0.608 MB / 383.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.02626, allocations: 8.031 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.878e-05/0.02634, allocations: 36.75 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.02661, allocations: 220.6 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.02663, allocations: 4.375 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.02666, allocations: 12.38 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.02686, allocations: 114.3 kB / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.02688, allocations: 7.891 kB / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.02689, allocations: 0 / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.0269, allocations: 4 kB / 383.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.844e-05/0.02698, allocations: 35.89 kB / 383.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005568/0.02753, allocations: 0.514 MB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.02782, allocations: 118.1 kB / 384.4 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.435e-05/0.02789, allocations: 43.48 kB / 384.4 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.0279, allocations: 0 / 384.4 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001803/0.02808, allocations: 120.3 kB / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.103e-06/0.02808, allocations: 3.938 kB / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001029/0.02911, allocations: 472.7 kB / 385 MB, free: 11.49 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.02915, allocations: 85.05 kB / 385.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003835/0.02954, allocations: 394.3 kB / 385.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.02956, allocations: 37.7 kB / 385.5 MB, free: 10.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.02971, allocations: 219.3 kB / 385.7 MB, free: 10.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.576e-05/0.02978, allocations: 75.42 kB / 385.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.107e-05/0.02985, allocations: 47.36 kB / 385.8 MB, free: 10.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.03006, allocations: 0.5235 MB / 386.4 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.07e-05/0.03014, allocations: 31.98 kB / 386.4 MB, free: 10.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.03025, allocations: 83.97 kB / 386.5 MB, free: 9.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.03044, allocations: 126.8 kB / 386.6 MB, free: 9.789 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.03044, allocations: 4 kB / 386.6 MB, free: 9.785 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003244/0.03076, allocations: 197.2 kB / 386.8 MB, free: 9.586 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.03078, allocations: 11.98 kB / 386.8 MB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.03079, allocations: 0 / 386.8 MB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.0308, allocations: 4 kB / 386.8 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.03093, allocations: 39.98 kB / 386.8 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.03094, allocations: 11.88 kB / 386.9 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.542e-05/0.031, allocations: 8 kB / 386.9 MB, free: 9.512 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.03102, allocations: 9.156 kB / 386.9 MB, free: 9.504 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001042/0.03112, allocations: 172.6 kB / 387 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.133e-05/0.03117, allocations: 39.77 kB / 387.1 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003757/0.03155, allocations: 232.3 kB / 387.3 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.03155, allocations: 4 kB / 387.3 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.03156, allocations: 3.938 kB / 387.3 MB, free: 9.047 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.03157, allocations: 3.984 kB / 387.3 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007614/0.03233, allocations: 0.7528 MB / 388.1 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.03233, allocations: 4.125 kB / 388.1 MB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.379e-05/0.03242, allocations: 39.92 kB / 388.1 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.03243, allocations: 3.938 kB / 388.1 MB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.03244, allocations: 4 kB / 388.1 MB, free: 8.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.718e-06/0.03245, allocations: 4 kB / 388.1 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.03245, allocations: 0 / 388.1 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004251/0.03287, allocations: 0.5198 MB / 388.6 MB, free: 7.621 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.532e-05/0.03291, allocations: 31.77 kB / 388.7 MB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.788e-05/0.03295, allocations: 8 kB / 388.7 MB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.03308, allocations: 11.98 kB / 388.7 MB, free: 7.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.03313, allocations: 23.97 kB / 388.7 MB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/0.03316, allocations: 12 kB / 388.7 MB, free: 7.535 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002263/0.03338, allocations: 274.9 kB / 389 MB, free: 7.266 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03338, allocations: 4 kB / 389 MB, free: 7.262 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003763/0.03376, allocations: 51.92 kB / 389.1 MB, free: 7.211 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001376/0.03514, allocations: 490.6 kB / 389.5 MB, free: 6.914 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002634/0.0354, allocations: 131.4 kB / 389.7 MB, free: 6.781 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.0354, allocations: 0 / 389.7 MB, free: 6.781 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.03552, allocations: 71.53 kB / 389.7 MB, free: 6.707 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005582/0.03607, allocations: 80.77 kB / 389.8 MB, free: 6.633 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007448/0.03682, allocations: 0.4938 MB / 390.3 MB, free: 6.086 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.304e-05/0.0369, allocations: 96.3 kB / 390.4 MB, free: 5.973 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.329e-05/0.037, allocations: 33.94 kB / 390.4 MB, free: 5.941 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.048e-05/0.03707, allocations: 36.48 kB / 390.5 MB, free: 5.906 MB / 362.7 MB Notification: Performance of SimCode: time 8.42e-07/0.03707, allocations: 7.938 kB / 390.5 MB, free: 5.898 MB / 362.7 MB Notification: Performance of Templates: time 0.007121/0.04419, allocations: 3.607 MB / 394.1 MB, free: 2.344 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.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.266555753070861]