Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001009/0.001009, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001492/0.002501, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009383/0.0009383, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001344/0.002283, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.142/1.142, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.101/1.244, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3002/0.3002, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03034/0.3306, allocations: 12.53 MB / 289.3 MB, free: 8.668 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 290.7 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.742e-05/1.922e-05, allocations: 3.297 kB / 290.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002123/0.002142, allocations: 2.032 MB / 292.7 MB, free: 5.941 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.003597, allocations: 1.189 MB / 293.9 MB, free: 4.984 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.679e-05/0.003683, allocations: 7.938 kB / 293.9 MB, free: 4.977 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004743/0.004158, allocations: 199.3 kB / 294.1 MB, free: 4.781 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.004424, allocations: 215.1 kB / 294.3 MB, free: 4.57 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.004673, allocations: 164.3 kB / 294.5 MB, free: 4.41 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002655/0.004938, allocations: 271.2 kB / 294.7 MB, free: 4.145 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.349e-05/0.005022, allocations: 26.55 kB / 294.8 MB, free: 4.121 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.00522, allocations: 201.5 kB / 295 MB, free: 3.918 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002552/0.005476, allocations: 95.77 kB / 295.1 MB, free: 3.824 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.005495, allocations: 11.94 kB / 295.1 MB, free: 3.812 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.005613, allocations: 71.81 kB / 295.1 MB, free: 3.742 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.424e-05/0.005677, allocations: 47.86 kB / 295.2 MB, free: 3.695 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.994e-05/0.005727, allocations: 39.81 kB / 295.2 MB, free: 3.656 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.005926, allocations: 175.3 kB / 295.4 MB, free: 3.484 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.425e-05/0.00594, allocations: 0 / 295.4 MB, free: 3.484 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.005941, allocations: 0 / 295.4 MB, free: 3.484 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.005955, allocations: 0 / 295.4 MB, free: 3.484 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.0005293/0.006484, allocations: 0.4974 MB / 295.9 MB, free: 2.957 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.834e-05/0.006512, allocations: 8.031 kB / 295.9 MB, free: 2.949 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.00655, allocations: 20.92 kB / 295.9 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.006765, allocations: 222.5 kB / 296.1 MB, free: 2.684 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.006781, allocations: 4.375 kB / 296.1 MB, free: 2.68 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.006793, allocations: 4.375 kB / 296.2 MB, free: 2.676 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.006912, allocations: 86.67 kB / 296.2 MB, free: 2.578 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.006922, allocations: 3.938 kB / 296.2 MB, free: 2.574 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.006931, allocations: 4 kB / 296.2 MB, free: 2.57 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.006936, allocations: 4 kB / 296.2 MB, free: 2.566 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.738e-05/0.006973, allocations: 25.58 kB / 296.3 MB, free: 2.539 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002361/0.007209, allocations: 205.6 kB / 296.5 MB, free: 2.316 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.007322, allocations: 126.7 kB / 296.6 MB, free: 2.172 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.725e-05/0.007349, allocations: 21.72 kB / 296.6 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.007359, allocations: 0 / 296.6 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001154/0.007475, allocations: 108.7 kB / 296.7 MB, free: 2.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 8.21e-07/0.007475, allocations: 0 / 296.7 MB, free: 2.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001385/0.007614, allocations: 99.25 kB / 296.8 MB, free: 1.914 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.007645, allocations: 81.09 kB / 296.9 MB, free: 1.816 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.007811, allocations: 276.7 kB / 297.2 MB, free: 1.531 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.007825, allocations: 29.7 kB / 297.2 MB, free: 1.496 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.188e-05/0.007867, allocations: 120.6 kB / 297.3 MB, free: 1.375 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.007895, allocations: 31.77 kB / 297.3 MB, free: 1.344 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.007931, allocations: 33.7 kB / 297.4 MB, free: 1.305 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.455e-05/0.008016, allocations: 338.8 kB / 297.7 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.993e-05/0.008036, allocations: 14.83 kB / 297.7 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.115e-05/0.008087, allocations: 77.91 kB / 297.8 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.16e-05/0.008148, allocations: 72.33 kB / 297.9 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.008151, allocations: 0 / 297.9 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 8.968e-05/0.008241, allocations: 99.19 kB / 298 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.008252, allocations: 4 kB / 298 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.008257, allocations: 4 kB / 298 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.374e-06/0.008265, allocations: 4.094 kB / 298 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.38e-05/0.008338, allocations: 27.92 kB / 298 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.008342, allocations: 3.938 kB / 298 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.099e-05/0.008383, allocations: 15.94 kB / 298 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.008389, allocations: 8 kB / 298 MB, free: 0.5938 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 6.653e-05/0.008456, allocations: 124.6 kB / 298.2 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.051e-05/0.008476, allocations: 23.91 kB / 298.2 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.008595, allocations: 95.5 kB / 298.3 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.008602, allocations: 7.984 kB / 298.3 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.008604, allocations: 4 kB / 298.3 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.008608, allocations: 0 / 298.3 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.00871, allocations: 129.9 kB / 298.4 MB, free: 180 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.008712, allocations: 4 kB / 298.4 MB, free: 176 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.873e-05/0.008741, allocations: 15.94 kB / 298.4 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.848e-05/0.008759, allocations: 19.84 kB / 298.5 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.008763, allocations: 7.938 kB / 298.5 MB, free: 132 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.008769, allocations: 0 / 298.5 MB, free: 132 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.008769, allocations: 0 / 298.5 MB, free: 132 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.008771, allocations: 4 kB / 298.5 MB, free: 128 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.008876, allocations: 118.4 kB / 298.6 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.008899, allocations: 15.94 kB / 298.6 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.274e-05/0.008931, allocations: 4 kB / 298.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.008966, allocations: 19.91 kB / 298.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.008977, allocations: 4 kB / 298.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.661e-05/0.009063, allocations: 111.5 kB / 298.7 MB, free: 15.83 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009063, allocations: 0 / 298.7 MB, free: 15.83 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001383/0.009202, allocations: 43.92 kB / 298.8 MB, free: 15.79 MB / 298.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.001253/0.01045, allocations: 0.5679 MB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001111/0.01057, allocations: 56.77 kB / 299.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.341e-06/0.01057, allocations: 0 / 299.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.289e-05/0.01062, allocations: 44.77 kB / 299.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.01081, allocations: 85.08 kB / 299.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005104/0.01132, allocations: 365 kB / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.003e-05/0.01137, allocations: 83.97 kB / 300 MB, free: 14.85 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.601e-05/0.01143, allocations: 34.59 kB / 300 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.884e-05/0.01153, allocations: 91.28 kB / 300.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01153, allocations: 0 / 300.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of Templates: time 0.004941/0.01647, allocations: 3.566 MB / 303.7 MB, free: 11.23 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.1917118094861507]