Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001793/0.001793, allocations: 88.23 kB / 20.2 MB, free: 4.227 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.001678/0.001678, allocations: 157.7 kB / 23.51 MB, free: 0.9219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 158.6 MB / 185.3 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2607/0.2607, allocations: 32.37 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 347 MB, free: 9.742 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.442e-05/3.709e-05, allocations: 2.312 kB / 347 MB, free: 9.738 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.004071/0.004108, allocations: 1.891 MB / 348.9 MB, free: 7.836 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00225/0.006358, allocations: 0.9322 MB / 349.8 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.006494, allocations: 4 kB / 349.8 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.007534, allocations: 211.3 kB / 350 MB, free: 6.684 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005186/0.008052, allocations: 155.4 kB / 350.2 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006757/0.008728, allocations: 203.5 kB / 350.4 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003618/0.00909, allocations: 255.2 kB / 350.6 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.009218, allocations: 21.73 kB / 350.7 MB, free: 6.059 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002266/0.009444, allocations: 131.7 kB / 350.8 MB, free: 5.93 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.009642, allocations: 103.7 kB / 350.9 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.887e-05/0.009681, allocations: 8 kB / 350.9 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/0.00987, allocations: 59.89 kB / 351 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.009972, allocations: 59.75 kB / 351 MB, free: 5.703 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.516e-05/0.01007, allocations: 43.86 kB / 351.1 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003951/0.01046, allocations: 235.1 kB / 351.3 MB, free: 5.43 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.01047, allocations: 0 / 351.3 MB, free: 5.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.01047, allocations: 0 / 351.3 MB, free: 5.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.01048, allocations: 4 kB / 351.3 MB, free: 5.426 MB / 282.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.001028/0.0115, allocations: 478.5 kB / 351.8 MB, free: 4.922 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.01155, allocations: 8.031 kB / 351.8 MB, free: 4.914 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.01168, allocations: 36.75 kB / 351.8 MB, free: 4.879 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004851/0.01217, allocations: 228.7 kB / 352 MB, free: 4.629 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.0122, allocations: 4.375 kB / 352 MB, free: 4.625 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.01223, allocations: 4.375 kB / 352 MB, free: 4.621 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003933/0.01262, allocations: 103.8 kB / 352.1 MB, free: 4.508 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.01264, allocations: 3.938 kB / 352.1 MB, free: 4.504 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.01267, allocations: 4 kB / 352.1 MB, free: 4.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.01268, allocations: 4 kB / 352.2 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000253/0.01293, allocations: 47.91 kB / 352.2 MB, free: 4.449 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007498/0.01368, allocations: 305.3 kB / 352.5 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005223/0.0142, allocations: 117.2 kB / 352.6 MB, free: 3.984 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.01439, allocations: 49.69 kB / 352.7 MB, free: 3.93 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.01442, allocations: 0 / 352.7 MB, free: 3.93 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003497/0.01477, allocations: 121 kB / 352.8 MB, free: 3.793 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 2.184e-06/0.01478, allocations: 0 / 352.8 MB, free: 3.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008517/0.01563, allocations: 193.4 kB / 353 MB, free: 3.598 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.01567, allocations: 81.11 kB / 353 MB, free: 3.5 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004785/0.01615, allocations: 336.2 kB / 353.4 MB, free: 3.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.01617, allocations: 29.7 kB / 353.4 MB, free: 3.125 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.01627, allocations: 144.1 kB / 353.5 MB, free: 2.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.01631, allocations: 23.8 kB / 353.6 MB, free: 2.957 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.154e-05/0.01638, allocations: 33.7 kB / 353.6 MB, free: 2.918 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.088e-05/0.01646, allocations: 342.8 kB / 353.9 MB, free: 2.574 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.01662, allocations: 31.98 kB / 354 MB, free: 2.543 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.01681, allocations: 98.95 kB / 354.1 MB, free: 2.426 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.01712, allocations: 99.84 kB / 354.2 MB, free: 2.316 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.01713, allocations: 11.94 kB / 354.2 MB, free: 2.305 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004735/0.0176, allocations: 165.3 kB / 354.3 MB, free: 2.137 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.01762, allocations: 8.094 kB / 354.3 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.01763, allocations: 0 / 354.3 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.774e-05/0.01765, allocations: 4 kB / 354.3 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.01783, allocations: 19.98 kB / 354.4 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.01784, allocations: 4 kB / 354.4 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.01798, allocations: 15.92 kB / 354.4 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.018, allocations: 4 kB / 354.4 MB, free: 2.082 MB / 282.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.000159/0.01816, allocations: 153.7 kB / 354.5 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.323e-05/0.01822, allocations: 31.81 kB / 354.6 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005253/0.01875, allocations: 175.5 kB / 354.7 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.01875, allocations: 0 / 354.7 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.01876, allocations: 3.984 kB / 354.7 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.01877, allocations: 0 / 354.7 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.01898, allocations: 185.2 kB / 354.9 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.01898, allocations: 3.938 kB / 354.9 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.952e-05/0.01906, allocations: 12 kB / 354.9 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.01907, allocations: 4 kB / 354.9 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.01908, allocations: 0 / 354.9 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.01909, allocations: 0 / 354.9 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.01909, allocations: 8.188 kB / 355 MB, free: 1.469 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005027/0.01959, allocations: 209.8 kB / 355.2 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-05/0.01965, allocations: 31.78 kB / 355.2 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.369e-05/0.0197, allocations: 0 / 355.2 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.01985, allocations: 11.98 kB / 355.2 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.204e-05/0.01993, allocations: 7.984 kB / 355.2 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.01996, allocations: 8 kB / 355.2 MB, free: 1.184 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003347/0.02029, allocations: 255 kB / 355.5 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.02029, allocations: 0 / 355.5 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004717/0.02076, allocations: 35.94 kB / 355.5 MB, free: 0.9023 MB / 282.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.003032/0.0238, allocations: 455.1 kB / 355.9 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004782/0.02427, allocations: 95.89 kB / 356 MB, free: 480 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.02428, allocations: 0 / 356 MB, free: 480 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.02448, allocations: 47.92 kB / 356.1 MB, free: 432 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000732/0.02522, allocations: 72.8 kB / 356.2 MB, free: 352 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.02634, allocations: 397 kB / 356.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006016/0.02694, allocations: 144.2 kB / 356.7 MB, free: 15.77 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001796/0.02712, allocations: 26.09 kB / 356.7 MB, free: 15.74 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.02724, allocations: 36.48 kB / 356.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of SimCode: time 1.022e-06/0.02724, allocations: 0 / 356.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of Templates: time 0.01449/0.04173, allocations: 3.179 MB / 359.9 MB, free: 12.55 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.091913657030091]