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.001945/0.001945, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.002266/0.002266, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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.618/1.618, allocations: 177 MB / 204.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] 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.4261/0.4261, allocations: 34.25 MB / 295.2 MB, free: 0.668 MB / 266.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.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|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.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.975e-06/2.975e-06, allocations: 0 / 377.3 MB, free: 2.855 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.448e-05/3.746e-05, allocations: 3.859 kB / 377.3 MB, free: 2.852 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.004036/0.004074, allocations: 1.936 MB / 379.2 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002525/0.006599, allocations: 1.141 MB / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.00674, allocations: 3.938 kB / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000961/0.007701, allocations: 199.3 kB / 380.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005856/0.008286, allocations: 211.1 kB / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005039/0.00879, allocations: 171.4 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004224/0.009213, allocations: 279.1 kB / 381.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.00932, allocations: 12.59 kB / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002305/0.009551, allocations: 143.6 kB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.009738, allocations: 107.7 kB / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.231e-05/0.009771, allocations: 12 kB / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.009929, allocations: 51.97 kB / 381.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.01004, allocations: 59.77 kB / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.01014, allocations: 51.78 kB / 381.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004139/0.01056, allocations: 251.1 kB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.01056, allocations: 4 kB / 381.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01056, allocations: 0 / 381.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.01057, allocations: 0 / 381.9 MB, free: 14.22 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.001049/0.01162, allocations: 494.4 kB / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.01166, allocations: 8.031 kB / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.828e-05/0.01176, allocations: 32.75 kB / 382.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004304/0.01219, allocations: 229.9 kB / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.01221, allocations: 16.31 kB / 382.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.01223, allocations: 4.375 kB / 382.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.01248, allocations: 95.86 kB / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.0125, allocations: 8.172 kB / 382.8 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.01251, allocations: 4.375 kB / 382.8 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.01252, allocations: 7.922 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.01267, allocations: 43.97 kB / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005858/0.01326, allocations: 309.3 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003401/0.0136, allocations: 121.2 kB / 383.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.01372, allocations: 41.7 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.01375, allocations: 3.938 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003061/0.01405, allocations: 125 kB / 383.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.01405, allocations: 0 / 383.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005741/0.01463, allocations: 193.4 kB / 383.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.194e-05/0.0147, allocations: 77.11 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000493/0.01519, allocations: 364.5 kB / 384 MB, free: 11.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.01522, allocations: 29.7 kB / 384 MB, free: 11.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.01537, allocations: 148.1 kB / 384.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/0.01541, allocations: 27.78 kB / 384.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/0.01548, allocations: 25.72 kB / 384.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002318/0.01571, allocations: 338.8 kB / 384.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.01582, allocations: 43.91 kB / 384.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.01598, allocations: 100.4 kB / 384.7 MB, free: 11.17 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/0.0162, allocations: 103.4 kB / 384.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.0162, allocations: 4 kB / 384.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003288/0.01653, allocations: 162 kB / 385 MB, free: 10.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.01655, allocations: 4 kB / 385 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.01656, allocations: 8 kB / 385 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.01658, allocations: 0 / 385 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.01671, allocations: 23.92 kB / 385 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.01671, allocations: 4 kB / 385 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.941e-05/0.01681, allocations: 16 kB / 385 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.01683, allocations: 8 kB / 385 MB, free: 10.82 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 0.0001671/0.017, allocations: 149.8 kB / 385.2 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.722e-05/0.01705, allocations: 31.8 kB / 385.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004095/0.01746, allocations: 179.4 kB / 385.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.01747, allocations: 4 kB / 385.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.01747, allocations: 0 / 385.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.01748, allocations: 0 / 385.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.01772, allocations: 189.2 kB / 385.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01773, allocations: 4 kB / 385.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.252e-05/0.01779, allocations: 15.98 kB / 385.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.01779, allocations: 3.938 kB / 385.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.0178, allocations: 0 / 385.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.01781, allocations: 7.938 kB / 385.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01781, allocations: 0 / 385.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.0182, allocations: 201 kB / 385.8 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.662e-05/0.01825, allocations: 23.81 kB / 385.8 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.489e-05/0.01829, allocations: 11.92 kB / 385.8 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.949e-05/0.01837, allocations: 8 kB / 385.8 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.845e-05/0.01844, allocations: 11.98 kB / 385.9 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.01846, allocations: 11.98 kB / 385.9 MB, free: 9.922 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003493/0.01881, allocations: 267 kB / 386.1 MB, free: 9.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01881, allocations: 0 / 386.1 MB, free: 9.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002677/0.01908, allocations: 35.94 kB / 386.2 MB, free: 9.625 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.001975/0.02105, allocations: 455 kB / 386.6 MB, free: 9.324 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003016/0.02136, allocations: 95.89 kB / 386.7 MB, free: 9.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.02136, allocations: 4.125 kB / 386.7 MB, free: 9.227 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.02149, allocations: 43.92 kB / 386.8 MB, free: 9.184 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.02192, allocations: 72.91 kB / 386.8 MB, free: 9.113 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008028/0.02272, allocations: 417.9 kB / 387.2 MB, free: 8.676 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001632/0.02288, allocations: 140.8 kB / 387.4 MB, free: 8.516 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.833e-05/0.02298, allocations: 34.08 kB / 387.4 MB, free: 8.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.659e-05/0.02305, allocations: 28.5 kB / 387.4 MB, free: 8.453 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02305, allocations: 0 / 387.4 MB, free: 8.453 MB / 362.7 MB Notification: Performance of Templates: time 0.007861/0.03091, allocations: 3.239 MB / 390.7 MB, free: 5.25 MB / 362.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.347053257981315]