Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001659/0.001659, allocations: 84.34 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001903/0.001903, allocations: 166.8 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.138/1.138, allocations: 177 MB / 205.9 MB, free: 4.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1779/0.1779, allocations: 34.88 MB / 297.4 MB, free: 13.43 MB / 282.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 380.1 MB, free: 22.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.453e-05/2.6e-05, allocations: 2.906 kB / 380.1 MB, free: 22.68 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.004558/0.004584, allocations: 1.978 MB / 382.1 MB, free: 20.7 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.00665, allocations: 1.15 MB / 383.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001739/0.006824, allocations: 7.938 kB / 383.2 MB, free: 19.53 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008238/0.007648, allocations: 207.2 kB / 383.4 MB, free: 19.33 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005862/0.008234, allocations: 211.1 kB / 383.6 MB, free: 19.12 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005155/0.00875, allocations: 163.5 kB / 383.8 MB, free: 18.96 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003841/0.009134, allocations: 275.1 kB / 384.1 MB, free: 18.69 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.009272, allocations: 20.53 kB / 384.1 MB, free: 18.67 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002476/0.009519, allocations: 143.6 kB / 384.2 MB, free: 18.53 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.009685, allocations: 107.7 kB / 384.3 MB, free: 18.43 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/0.009713, allocations: 12 kB / 384.3 MB, free: 18.41 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.00989, allocations: 59.84 kB / 384.4 MB, free: 18.36 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.955e-05/0.009979, allocations: 59.77 kB / 384.4 MB, free: 18.3 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.33e-05/0.01004, allocations: 43.84 kB / 384.5 MB, free: 18.25 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002982/0.01034, allocations: 187.2 kB / 384.7 MB, free: 18.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.01035, allocations: 4 kB / 384.7 MB, free: 18.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.01035, allocations: 0 / 384.7 MB, free: 18.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.328e-06/0.01036, allocations: 3.938 kB / 384.7 MB, free: 18.06 MB / 314.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.0007102/0.01107, allocations: 0.5904 MB / 385.3 MB, free: 17.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.01111, allocations: 8.031 kB / 385.3 MB, free: 17.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.993e-05/0.0112, allocations: 32.75 kB / 385.3 MB, free: 17.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/0.01156, allocations: 241.4 kB / 385.5 MB, free: 17.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.009e-05/0.01159, allocations: 4.312 kB / 385.6 MB, free: 17.12 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.01161, allocations: 12.38 kB / 385.6 MB, free: 17.11 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.01182, allocations: 89.56 kB / 385.7 MB, free: 17 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.01183, allocations: 192 / 385.7 MB, free: 17 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.01185, allocations: 4.375 kB / 385.7 MB, free: 17 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.01185, allocations: 3.938 kB / 385.7 MB, free: 17 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.652e-05/0.01191, allocations: 15.98 kB / 385.7 MB, free: 16.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004801/0.01239, allocations: 328 kB / 386 MB, free: 16.63 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.01257, allocations: 90.22 kB / 386.1 MB, free: 16.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.94e-05/0.01262, allocations: 35.36 kB / 386.1 MB, free: 16.47 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.01264, allocations: 8 kB / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001891/0.01283, allocations: 114.3 kB / 386.2 MB, free: 16.33 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 1.713e-06/0.01283, allocations: 3.938 kB / 386.2 MB, free: 16.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003252/0.01316, allocations: 141.4 kB / 386.4 MB, free: 16.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.0132, allocations: 81.05 kB / 386.5 MB, free: 16.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000303/0.0135, allocations: 342.2 kB / 386.8 MB, free: 15.74 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.01352, allocations: 29.7 kB / 386.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.763e-05/0.01362, allocations: 186.8 kB / 387 MB, free: 15.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.01366, allocations: 43.72 kB / 387 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.876e-05/0.01372, allocations: 35.36 kB / 387.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.932e-05/0.01382, allocations: 0.5196 MB / 387.6 MB, free: 14.9 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.978e-05/0.01386, allocations: 11.98 kB / 387.6 MB, free: 14.89 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.652e-05/0.01394, allocations: 84.12 kB / 387.7 MB, free: 14.78 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.21e-05/0.01403, allocations: 74.66 kB / 387.8 MB, free: 14.69 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.01403, allocations: 0.5 kB / 387.8 MB, free: 14.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001963/0.01423, allocations: 121.5 kB / 387.9 MB, free: 14.56 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.01425, allocations: 7.938 kB / 387.9 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.01426, allocations: 0 / 387.9 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.01427, allocations: 7.984 kB / 387.9 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.01439, allocations: 19.94 kB / 387.9 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.0144, allocations: 4 kB / 387.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.106e-05/0.01448, allocations: 15.94 kB / 387.9 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.01449, allocations: 4 kB / 387.9 MB, free: 14.5 MB / 314.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 0.0001002/0.01459, allocations: 164.5 kB / 388.1 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.713e-05/0.01463, allocations: 35.84 kB / 388.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002442/0.01488, allocations: 143.5 kB / 388.3 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.01488, allocations: 3.984 kB / 388.3 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.01489, allocations: 0 / 388.3 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.01489, allocations: 4 kB / 388.3 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.01507, allocations: 153.1 kB / 388.4 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.01507, allocations: 7.984 kB / 388.4 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.862e-05/0.01513, allocations: 11.94 kB / 388.5 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.01514, allocations: 0 / 388.5 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.01515, allocations: 8 kB / 388.5 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.01515, allocations: 3.938 kB / 388.5 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01515, allocations: 4 kB / 388.5 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.01538, allocations: 179.4 kB / 388.6 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.83e-05/0.01542, allocations: 27.8 kB / 388.7 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.01545, allocations: 11.88 kB / 388.7 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.148e-05/0.01552, allocations: 8.125 kB / 388.7 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.252e-05/0.01558, allocations: 19.97 kB / 388.7 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.01559, allocations: 4 kB / 388.7 MB, free: 13.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001507/0.01574, allocations: 230.9 kB / 388.9 MB, free: 13.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01574, allocations: 0 / 388.9 MB, free: 13.43 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003266/0.01607, allocations: 39.92 kB / 389 MB, free: 13.39 MB / 314.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.001363/0.01743, allocations: 392.2 kB / 389.4 MB, free: 13.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.01762, allocations: 67.64 kB / 389.4 MB, free: 13.09 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.01762, allocations: 0 / 389.4 MB, free: 13.09 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.387e-05/0.01769, allocations: 43.61 kB / 389.5 MB, free: 13.04 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.0181, allocations: 69.41 kB / 389.5 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007236/0.01883, allocations: 360.4 kB / 389.9 MB, free: 12.59 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.116e-05/0.0189, allocations: 95.81 kB / 390 MB, free: 12.48 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.01901, allocations: 30 kB / 390 MB, free: 12.45 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.01917, allocations: 114.1 kB / 390.1 MB, free: 12.34 MB / 314.7 MB Notification: Performance of SimCode: time 1.222e-06/0.01917, allocations: 0 / 390.1 MB, free: 12.34 MB / 314.7 MB Notification: Performance of Templates: time 0.008553/0.02772, allocations: 3.586 MB / 393.7 MB, free: 8.805 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.71447780309245]