Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.0009787/0.0009787, 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.0008944/0.0008944, allocations: 165 kB / 24.56 MB, free: 12 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.9135/0.9135, allocations: 177.1 MB / 205 MB, free: 5.598 MB / 186.7 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.2367/0.2367, allocations: 32.81 MB / 294.3 MB, free: 1.27 MB / 266.7 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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|booleanTable.y|booleanTable.combiTimeTable.y.[0-9,]+.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|booleanTable.y|booleanTable.combiTimeTable.y.[0-9,]+.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 376.1 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.788e-05/1.942e-05, allocations: 9.344 kB / 376.1 MB, free: 4.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002359/0.002378, allocations: 1.997 MB / 378.1 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.003641, allocations: 1.177 MB / 379.3 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.903e-05/0.00372, allocations: 4 kB / 379.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005459/0.004266, allocations: 203.2 kB / 379.5 MB, free: 1.152 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003191/0.004585, allocations: 211.1 kB / 379.7 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.004852, allocations: 167.4 kB / 379.8 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002335/0.005085, allocations: 271.2 kB / 380.1 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.42e-05/0.005179, allocations: 20.56 kB / 380.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.005327, allocations: 143.6 kB / 380.3 MB, free: 364 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.005444, allocations: 95.77 kB / 380.4 MB, free: 268 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.005465, allocations: 12 kB / 380.4 MB, free: 256 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.005586, allocations: 67.88 kB / 380.4 MB, free: 188 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.921e-05/0.005655, allocations: 59.7 kB / 380.5 MB, free: 128 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.758e-05/0.005713, allocations: 47.86 kB / 380.6 MB, free: 80 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.005964, allocations: 187.2 kB / 380.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.005966, allocations: 0 / 380.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.005967, allocations: 4 kB / 380.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.005971, allocations: 0 / 380.7 MB, free: 15.89 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005771/0.006548, allocations: 0.5865 MB / 381.3 MB, free: 15.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.006582, allocations: 8.031 kB / 381.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.302e-05/0.006645, allocations: 36.75 kB / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.006891, allocations: 237.4 kB / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.00691, allocations: 4.375 kB / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.006923, allocations: 4.375 kB / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.007072, allocations: 89.58 kB / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.007081, allocations: 3.938 kB / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.007093, allocations: 11.92 kB / 381.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.007102, allocations: 4 kB / 381.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.041e-05/0.007152, allocations: 15.98 kB / 381.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003971/0.007549, allocations: 363.4 kB / 382.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.007712, allocations: 106.2 kB / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.719e-05/0.007759, allocations: 35.36 kB / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.007771, allocations: 4 kB / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00014/0.007911, allocations: 116.3 kB / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.743e-06/0.007913, allocations: 0 / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002838/0.008196, allocations: 153.4 kB / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.008227, allocations: 81.11 kB / 382.6 MB, free: 13.85 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.00845, allocations: 346.3 kB / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.008464, allocations: 25.7 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.576e-05/0.008549, allocations: 194.8 kB / 383.1 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.008578, allocations: 35.86 kB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.008618, allocations: 35.36 kB / 383.2 MB, free: 13.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.008747, allocations: 0.5118 MB / 383.7 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.296e-05/0.00878, allocations: 15.98 kB / 383.7 MB, free: 12.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/0.009099, allocations: 88.12 kB / 383.8 MB, free: 12.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.807e-05/0.009178, allocations: 83.17 kB / 383.9 MB, free: 12.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.009182, allocations: 7.938 kB / 383.9 MB, free: 12.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001385/0.009321, allocations: 133.4 kB / 384 MB, free: 12.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.009334, allocations: 8 kB / 384 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.009338, allocations: 0 / 384 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.009351, allocations: 0 / 384 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.494e-05/0.009426, allocations: 23.98 kB / 384.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.009431, allocations: 0 / 384.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.48e-05/0.009476, allocations: 19.83 kB / 384.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.009484, allocations: 8 kB / 384.1 MB, free: 12.24 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * 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 8.253e-05/0.009567, allocations: 176.4 kB / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.009597, allocations: 27.92 kB / 384.3 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/0.009775, allocations: 139.5 kB / 384.4 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.009777, allocations: 4 kB / 384.4 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.009781, allocations: 3.984 kB / 384.4 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.009784, allocations: 0 / 384.4 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.009916, allocations: 204.5 kB / 384.6 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.009918, allocations: 3.938 kB / 384.6 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.46e-05/0.009943, allocations: 8 kB / 384.6 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.009946, allocations: 4 kB / 384.6 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.009954, allocations: 0 / 384.6 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.165e-06/0.009957, allocations: 7.984 kB / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.009958, allocations: 4.188 kB / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.01011, allocations: 187.9 kB / 384.8 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.342e-05/0.01013, allocations: 35.69 kB / 384.9 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.01015, allocations: 4 kB / 384.9 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.482e-05/0.01019, allocations: 11.92 kB / 384.9 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.01022, allocations: 11.98 kB / 384.9 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.01024, allocations: 4 kB / 384.9 MB, free: 11.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001338/0.01037, allocations: 247 kB / 385.1 MB, free: 11.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01037, allocations: 0 / 385.1 MB, free: 11.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001728/0.01054, allocations: 32 kB / 385.2 MB, free: 11.07 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.0007673/0.01131, allocations: 411.2 kB / 385.6 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001457/0.01146, allocations: 71.66 kB / 385.6 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.01146, allocations: 4 kB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.162e-05/0.01151, allocations: 43.61 kB / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.01176, allocations: 68.52 kB / 385.8 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000429/0.01219, allocations: 362.5 kB / 386.1 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.533e-05/0.01223, allocations: 87.97 kB / 386.2 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.791e-05/0.01229, allocations: 34.14 kB / 386.2 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.248e-05/0.01233, allocations: 24.5 kB / 386.3 MB, free: 10.07 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01233, allocations: 0 / 386.3 MB, free: 10.07 MB / 362.7 MB Notification: Performance of Templates: time 0.005097/0.01743, allocations: 3.476 MB / 389.7 MB, free: 6.637 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.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.037995030172169]