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.0009932/0.0009932, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001158/0.001158, allocations: 164.4 kB / 24.91 MB, free: 8.719 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 0.9316/0.9316, allocations: 177 MB / 205.2 MB, free: 5.055 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.2365/0.2365, allocations: 34.87 MB / 296.6 MB, free: 468 kB / 266.7 MB " [Timeout remaining time 180] 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.282e-06/1.282e-06, allocations: 0 / 326 MB, free: 7.105 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.274e-05/1.403e-05, allocations: 2.312 kB / 326 MB, free: 7.102 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.00216/0.002174, allocations: 1.989 MB / 328 MB, free: 5.105 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.003522, allocations: 1.177 MB / 329.2 MB, free: 3.922 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.862e-05/0.003601, allocations: 3.938 kB / 329.2 MB, free: 3.918 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004978/0.004099, allocations: 203.2 kB / 329.4 MB, free: 3.719 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000289/0.004388, allocations: 211.1 kB / 329.6 MB, free: 3.512 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.004632, allocations: 167.4 kB / 329.7 MB, free: 3.348 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.004856, allocations: 268 kB / 330 MB, free: 3.086 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.957e-05/0.004935, allocations: 30.45 kB / 330 MB, free: 3.059 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.00507, allocations: 139.6 kB / 330.2 MB, free: 2.922 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.005178, allocations: 99.7 kB / 330.3 MB, free: 2.824 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.005199, allocations: 12 kB / 330.3 MB, free: 2.812 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.824e-05/0.005297, allocations: 63.83 kB / 330.3 MB, free: 2.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.698e-05/0.005364, allocations: 59.77 kB / 330.4 MB, free: 2.691 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.552e-05/0.00541, allocations: 47.84 kB / 330.4 MB, free: 2.645 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.005615, allocations: 187.2 kB / 330.6 MB, free: 2.461 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.005617, allocations: 4 kB / 330.6 MB, free: 2.457 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005618, allocations: 0 / 330.6 MB, free: 2.457 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.474e-06/0.00562, allocations: 0 / 330.6 MB, free: 2.457 MB / 298.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.0004228/0.006043, allocations: 466.3 kB / 331.1 MB, free: 1.973 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.785e-05/0.006071, allocations: 12.02 kB / 331.1 MB, free: 1.961 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.006105, allocations: 20.92 kB / 331.1 MB, free: 1.941 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.006329, allocations: 218.5 kB / 331.3 MB, free: 1.699 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.006343, allocations: 4.375 kB / 331.3 MB, free: 1.695 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.006355, allocations: 4.375 kB / 331.3 MB, free: 1.691 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.006467, allocations: 94.72 kB / 331.4 MB, free: 1.586 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.006472, allocations: 192 / 331.4 MB, free: 1.586 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.00648, allocations: 4.359 kB / 331.4 MB, free: 1.582 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.006487, allocations: 11.94 kB / 331.4 MB, free: 1.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.289e-05/0.00652, allocations: 21.58 kB / 331.5 MB, free: 1.547 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002304/0.00675, allocations: 205.6 kB / 331.7 MB, free: 1.324 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.006859, allocations: 122.8 kB / 331.8 MB, free: 1.184 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.949e-05/0.006888, allocations: 33.64 kB / 331.8 MB, free: 1.145 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.006899, allocations: 0 / 331.8 MB, free: 1.145 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.899e-05/0.006998, allocations: 101.8 kB / 331.9 MB, free: 1.027 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 6.21e-07/0.006998, allocations: 0 / 331.9 MB, free: 1.027 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002058/0.007204, allocations: 107.2 kB / 332 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.007236, allocations: 81.11 kB / 332.1 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.007403, allocations: 280.7 kB / 332.4 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.007417, allocations: 25.7 kB / 332.4 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.367e-05/0.00746, allocations: 116.7 kB / 332.5 MB, free: 380 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.007486, allocations: 31.78 kB / 332.5 MB, free: 348 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.007522, allocations: 37.69 kB / 332.6 MB, free: 304 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.44e-05/0.007616, allocations: 334.8 kB / 332.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.187e-05/0.007638, allocations: 18.75 kB / 332.9 MB, free: 15.94 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.424e-05/0.007682, allocations: 69.98 kB / 333 MB, free: 15.85 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.862e-05/0.007741, allocations: 67.83 kB / 333.1 MB, free: 15.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.007743, allocations: 4 kB / 333.1 MB, free: 15.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 9.261e-05/0.007836, allocations: 99.95 kB / 333.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.007848, allocations: 11.94 kB / 333.2 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.007853, allocations: 4 kB / 333.2 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.288e-06/0.007862, allocations: 0 / 333.2 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.28e-05/0.007925, allocations: 23.92 kB / 333.2 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.007929, allocations: 4 kB / 333.2 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.233e-05/0.007971, allocations: 15.89 kB / 333.2 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.00798, allocations: 4 kB / 333.2 MB, free: 15.6 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 6.665e-05/0.008046, allocations: 124.6 kB / 333.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/0.008064, allocations: 15.98 kB / 333.4 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.008175, allocations: 111.4 kB / 333.5 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.008177, allocations: 0 / 333.5 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.008178, allocations: 0 / 333.5 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.008182, allocations: 0 / 333.5 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.604e-05/0.008278, allocations: 125.8 kB / 333.6 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.008279, allocations: 3.938 kB / 333.6 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.265e-05/0.008301, allocations: 15.92 kB / 333.6 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.008303, allocations: 4 kB / 333.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.008309, allocations: 0 / 333.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-07/0.00831, allocations: 0 / 333.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.008311, allocations: 3.938 kB / 333.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/0.00853, allocations: 126.4 kB / 333.7 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.253e-05/0.008552, allocations: 23.8 kB / 333.8 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.008573, allocations: 8 kB / 333.8 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.252e-05/0.008605, allocations: 7.984 kB / 333.8 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.008635, allocations: 19.91 kB / 333.8 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.008645, allocations: 4.062 kB / 333.8 MB, free: 14.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.497e-05/0.00873, allocations: 119.4 kB / 333.9 MB, free: 14.83 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.00873, allocations: 0 / 333.9 MB, free: 14.83 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001344/0.008865, allocations: 36 kB / 334 MB, free: 14.8 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.00105/0.009914, allocations: 0.5085 MB / 334.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.5e-05/0.01001, allocations: 48.78 kB / 334.5 MB, free: 14.49 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.01001, allocations: 4 kB / 334.5 MB, free: 14.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.464e-05/0.01006, allocations: 44.75 kB / 334.6 MB, free: 14.44 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.01023, allocations: 64.58 kB / 334.6 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003754/0.0106, allocations: 356.7 kB / 335 MB, free: 13.99 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.342e-05/0.01065, allocations: 99.95 kB / 335.1 MB, free: 13.88 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.028e-05/0.0107, allocations: 26.09 kB / 335.1 MB, free: 13.85 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.65e-05/0.01079, allocations: 87.34 kB / 335.2 MB, free: 13.76 MB / 314.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01079, allocations: 0 / 335.2 MB, free: 13.76 MB / 314.7 MB Notification: Performance of Templates: time 0.004816/0.0156, allocations: 3.513 MB / 338.7 MB, free: 10.31 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: 2.8574995337985456]