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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00089/0.00089, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001308/0.002198, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007189/0.0007189, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001083/0.001802, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.972/0.972, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2038/1.176, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.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.1735/0.1735, allocations: 32.79 MB / 272 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02446/0.198, allocations: 12.54 MB / 284.5 MB, free: 9.707 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.172e-06/1.172e-06, allocations: 0 / 285.9 MB, free: 8.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.715e-05/1.832e-05, allocations: 4.984 kB / 285.9 MB, free: 8.336 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002266/0.002284, allocations: 2.011 MB / 287.9 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.003446, allocations: 1.056 MB / 289 MB, free: 5.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.205e-05/0.003518, allocations: 4 kB / 289 MB, free: 5.246 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003952/0.003913, allocations: 199.2 kB / 289.2 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.004117, allocations: 171.3 kB / 289.4 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.004417, allocations: 225.8 kB / 289.6 MB, free: 4.664 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.004625, allocations: 259.2 kB / 289.8 MB, free: 4.41 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.975e-05/0.004704, allocations: 14.45 kB / 289.8 MB, free: 4.398 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.004908, allocations: 197.3 kB / 290 MB, free: 4.203 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.005016, allocations: 91.77 kB / 290.1 MB, free: 4.113 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.005037, allocations: 8 kB / 290.1 MB, free: 4.105 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.005149, allocations: 67.83 kB / 290.2 MB, free: 4.039 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.274e-05/0.005212, allocations: 47.8 kB / 290.2 MB, free: 3.992 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.382e-05/0.005255, allocations: 39.88 kB / 290.3 MB, free: 3.953 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.005436, allocations: 167.4 kB / 290.4 MB, free: 3.789 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.758e-06/0.005445, allocations: 0 / 290.4 MB, free: 3.789 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.005446, allocations: 0 / 290.4 MB, free: 3.789 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.005457, allocations: 0 / 290.4 MB, free: 3.789 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.0006731/0.00613, allocations: 492.7 kB / 290.9 MB, free: 3.277 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.9e-05/0.006159, allocations: 8.031 kB / 290.9 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.006199, allocations: 16.92 kB / 291 MB, free: 3.254 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.006399, allocations: 213.5 kB / 291.2 MB, free: 3.012 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.006414, allocations: 4.375 kB / 291.2 MB, free: 3.008 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.006428, allocations: 8.375 kB / 291.2 MB, free: 3 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.006539, allocations: 90.67 kB / 291.3 MB, free: 2.898 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.006547, allocations: 7.875 kB / 291.3 MB, free: 2.891 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.006555, allocations: 0 / 291.3 MB, free: 2.891 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.006561, allocations: 4 kB / 291.3 MB, free: 2.887 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.469e-05/0.006596, allocations: 21.58 kB / 291.3 MB, free: 2.863 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002335/0.006829, allocations: 213.6 kB / 291.5 MB, free: 2.633 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.006942, allocations: 126.7 kB / 291.6 MB, free: 2.488 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.975e-05/0.006971, allocations: 29.72 kB / 291.7 MB, free: 2.453 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.006982, allocations: 0 / 291.7 MB, free: 2.453 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001144/0.007097, allocations: 103.8 kB / 291.8 MB, free: 2.332 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 7.51e-07/0.007097, allocations: 0 / 291.8 MB, free: 2.332 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001412/0.007239, allocations: 99.25 kB / 291.9 MB, free: 2.227 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.007268, allocations: 81.09 kB / 291.9 MB, free: 2.129 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.007425, allocations: 272.6 kB / 292.2 MB, free: 1.844 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.007441, allocations: 33.7 kB / 292.2 MB, free: 1.805 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.058e-05/0.007482, allocations: 104.8 kB / 292.3 MB, free: 1.699 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.007509, allocations: 39.72 kB / 292.4 MB, free: 1.66 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.007542, allocations: 29.69 kB / 292.4 MB, free: 1.625 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.82e-05/0.00762, allocations: 338.8 kB / 292.7 MB, free: 1.285 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.189e-05/0.007642, allocations: 10.83 kB / 292.7 MB, free: 1.273 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.464e-05/0.007686, allocations: 73.97 kB / 292.8 MB, free: 1.18 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.279e-05/0.007749, allocations: 67.83 kB / 292.9 MB, free: 1.098 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.007751, allocations: 0 / 292.9 MB, free: 1.098 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 9.138e-05/0.007842, allocations: 99.75 kB / 293 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.007852, allocations: 8 kB / 293 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.007856, allocations: 128 / 293 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.007868, allocations: 4 kB / 293 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.181e-05/0.00794, allocations: 27.92 kB / 293 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.007944, allocations: 4 kB / 293 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.111e-05/0.007985, allocations: 15.92 kB / 293 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.007992, allocations: 7.938 kB / 293 MB, free: 0.9258 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.627e-05/0.008058, allocations: 116.7 kB / 293.2 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.008077, allocations: 27.84 kB / 293.2 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.008187, allocations: 103.5 kB / 293.3 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.00819, allocations: 4 kB / 293.3 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.008191, allocations: 0 / 293.3 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.008196, allocations: 3.984 kB / 293.3 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.493e-05/0.008291, allocations: 113.8 kB / 293.4 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.008294, allocations: 7.984 kB / 293.4 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.741e-05/0.008321, allocations: 11.94 kB / 293.4 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.013e-05/0.008341, allocations: 23.8 kB / 293.4 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.008344, allocations: 3.938 kB / 293.5 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.008355, allocations: 11.98 kB / 293.5 MB, free: 484 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.008356, allocations: 4 kB / 293.5 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.008357, allocations: 0 / 293.5 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.5e-05/0.008452, allocations: 118.4 kB / 293.6 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.008475, allocations: 7.938 kB / 293.6 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.187e-05/0.008507, allocations: 11.92 kB / 293.6 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.008542, allocations: 11.98 kB / 293.6 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.008553, allocations: 4 kB / 293.6 MB, free: 300 kB / 282.7 MB Notification: Performance of sorting global known variables: time 8.499e-05/0.008638, allocations: 107.5 kB / 293.7 MB, free: 188 kB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008638, allocations: 0 / 293.7 MB, free: 188 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001727/0.00881, allocations: 35.98 kB / 293.8 MB, free: 152 kB / 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.001285/0.0101, allocations: 0.5618 MB / 294.3 MB, free: 15.85 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001097/0.01021, allocations: 68.64 kB / 294.4 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.01021, allocations: 4 kB / 294.4 MB, free: 15.78 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.636e-05/0.01026, allocations: 36.78 kB / 294.4 MB, free: 15.74 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.01055, allocations: 405.1 kB / 294.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000762/0.01131, allocations: 342.9 kB / 295.2 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.299e-05/0.01136, allocations: 87.97 kB / 295.2 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.123e-05/0.01145, allocations: 30.17 kB / 295.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.01156, allocations: 91.34 kB / 295.4 MB, free: 14.7 MB / 298.7 MB Notification: Performance of SimCode: time 1.163e-06/0.01156, allocations: 0 / 295.4 MB, free: 14.7 MB / 298.7 MB Notification: Performance of Templates: time 0.005726/0.01729, allocations: 3.538 MB / 298.9 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0112015679478645]