Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001115/0.001115, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001495/0.001495, allocations: 169.8 kB / 24.82 MB, free: 9.262 MB / 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.045/1.045, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2997/0.2997, allocations: 34.26 MB / 296.1 MB, free: 0.7188 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.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.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 378.6 MB, free: 2.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.163e-05, allocations: 5.125 kB / 378.6 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002375/0.002396, allocations: 1.97 MB / 380.6 MB, free: 336 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.003863, allocations: 1.157 MB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.003964, allocations: 4 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006029/0.004567, allocations: 207.2 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003327/0.004899, allocations: 215.1 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.005162, allocations: 163.5 kB / 382.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002529/0.005415, allocations: 275.1 kB / 382.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.995e-05/0.005515, allocations: 16.58 kB / 382.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.00568, allocations: 143.6 kB / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.005795, allocations: 103.8 kB / 382.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.005817, allocations: 12 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.005923, allocations: 59.89 kB / 382.9 MB, free: 13.99 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.183e-05/0.005995, allocations: 59.77 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.153e-05/0.006046, allocations: 47.78 kB / 383 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.006301, allocations: 191.3 kB / 383.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.006302, allocations: 0 / 383.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.006303, allocations: 0 / 383.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.006307, allocations: 0 / 383.2 MB, free: 13.7 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.000539/0.006845, allocations: 0.5865 MB / 383.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.006885, allocations: 8.031 kB / 383.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.015e-05/0.006935, allocations: 36.75 kB / 383.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.007247, allocations: 233.4 kB / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.007267, allocations: 4.375 kB / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.007278, allocations: 8.375 kB / 384.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.007416, allocations: 89.5 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.007425, allocations: 3.938 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.007434, allocations: 4 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.00744, allocations: 0 / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.742e-05/0.007478, allocations: 23.97 kB / 384.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003043/0.007782, allocations: 328 kB / 384.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.007901, allocations: 90.28 kB / 384.6 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.629e-05/0.007937, allocations: 39.3 kB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.007958, allocations: 7.938 kB / 384.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001443/0.008102, allocations: 116.3 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/0.008103, allocations: 0 / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002239/0.008327, allocations: 133.5 kB / 384.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.008363, allocations: 85.11 kB / 385 MB, free: 11.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.008562, allocations: 330.2 kB / 385.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.008577, allocations: 29.7 kB / 385.3 MB, free: 11.35 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.173e-05/0.008668, allocations: 206.8 kB / 385.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.008698, allocations: 35.7 kB / 385.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.008733, allocations: 27.38 kB / 385.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00029/0.009023, allocations: 0.5196 MB / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.304e-05/0.009046, allocations: 15.92 kB / 386.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.33e-05/0.009099, allocations: 84.12 kB / 386.2 MB, free: 10.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.84e-05/0.009167, allocations: 74.66 kB / 386.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.009169, allocations: 0 / 386.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001173/0.009287, allocations: 125.9 kB / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.009298, allocations: 4 kB / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.009305, allocations: 8.109 kB / 386.4 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.009317, allocations: 0 / 386.4 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.296e-05/0.00939, allocations: 31.92 kB / 386.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.009394, allocations: 4 kB / 386.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.322e-05/0.009437, allocations: 11.89 kB / 386.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.009444, allocations: 4 kB / 386.4 MB, free: 10.14 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.06e-05/0.009525, allocations: 172.5 kB / 386.6 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.009551, allocations: 35.86 kB / 386.6 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001589/0.00971, allocations: 135.5 kB / 386.8 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.009712, allocations: 0 / 386.8 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.009717, allocations: 7.984 kB / 386.8 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.00972, allocations: 0 / 386.8 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.009841, allocations: 157.1 kB / 386.9 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.009843, allocations: 0 / 386.9 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.64e-05/0.009869, allocations: 15.94 kB / 387 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.009871, allocations: 0 / 387 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.009881, allocations: 11.92 kB / 387 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.009882, allocations: 0 / 387 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.009883, allocations: 4 kB / 387 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.01008, allocations: 175.9 kB / 387.1 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.684e-05/0.01011, allocations: 31.75 kB / 387.2 MB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.01013, allocations: 3.938 kB / 387.2 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.739e-05/0.01017, allocations: 7.984 kB / 387.2 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.01021, allocations: 15.98 kB / 387.2 MB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.01022, allocations: 4 kB / 387.2 MB, free: 9.305 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001084/0.01033, allocations: 234.9 kB / 387.4 MB, free: 9.074 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01033, allocations: 0 / 387.4 MB, free: 9.074 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000155/0.01049, allocations: 35.94 kB / 387.5 MB, free: 9.039 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.0008596/0.01135, allocations: 407.5 kB / 387.9 MB, free: 8.777 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001146/0.01146, allocations: 67.66 kB / 387.9 MB, free: 8.707 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01146, allocations: 0 / 387.9 MB, free: 8.707 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.391e-05/0.01151, allocations: 39.59 kB / 388 MB, free: 8.664 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.01174, allocations: 73.31 kB / 388 MB, free: 8.602 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004005/0.01214, allocations: 378.3 kB / 388.4 MB, free: 8.199 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.183e-05/0.01218, allocations: 79.97 kB / 388.5 MB, free: 8.102 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.183e-05/0.01223, allocations: 33.98 kB / 388.5 MB, free: 8.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.569e-05/0.01232, allocations: 114.2 kB / 388.6 MB, free: 7.957 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01233, allocations: 0 / 388.6 MB, free: 7.957 MB / 362.7 MB Notification: Performance of Templates: time 0.004906/0.01723, allocations: 3.536 MB / 392.2 MB, free: 4.473 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.2687825532630086]