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.0008353/0.0008353, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001119/0.001954, allocations: 452 kB / 10.43 MB, free: 264 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.0006947/0.0006947, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009428/0.001637, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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 0.8964/0.8964, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1456/1.042, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] 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.1277/0.1277, allocations: 32.35 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02497/0.1526, allocations: 12.3 MB / 266.1 MB, free: 3.883 MB / 266.7 MB " [Timeout remaining time 180] 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.[0-9,]+.|booleanTable.y|booleanTable.combiTimeTable.y.[0-9,]+.|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.[0-9,]+.|booleanTable.y|booleanTable.combiTimeTable.y.[0-9,]+.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 3.938 kB / 267.5 MB, free: 2.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.612e-05, allocations: 6.25 kB / 267.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002417/0.002443, allocations: 2.001 MB / 269.5 MB, free: 472 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.003665, allocations: 0.9865 MB / 270.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.517e-05/0.00376, allocations: 3.938 kB / 270.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004832/0.004243, allocations: 195.3 kB / 270.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002397/0.004483, allocations: 175.2 kB / 270.8 MB, free: 15.1 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003352/0.004818, allocations: 199.4 kB / 271 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002479/0.005066, allocations: 255.2 kB / 271.3 MB, free: 14.65 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.87e-05/0.005155, allocations: 14.47 kB / 271.3 MB, free: 14.64 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.005368, allocations: 197.2 kB / 271.5 MB, free: 14.45 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.005495, allocations: 91.77 kB / 271.6 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.00552, allocations: 12 kB / 271.6 MB, free: 14.35 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.00566, allocations: 63.83 kB / 271.6 MB, free: 14.29 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.655e-05/0.005726, allocations: 47.86 kB / 271.7 MB, free: 14.24 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.605e-05/0.005772, allocations: 35.88 kB / 271.7 MB, free: 14.2 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.005996, allocations: 167.3 kB / 271.9 MB, free: 14.04 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.203e-05/0.006008, allocations: 0 / 271.9 MB, free: 14.04 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.006009, allocations: 0 / 271.9 MB, free: 14.04 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.00602, allocations: 0 / 271.9 MB, free: 14.04 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.0006719/0.006692, allocations: 488.7 kB / 272.4 MB, free: 13.53 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.932e-05/0.006721, allocations: 11.97 kB / 272.4 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/0.006764, allocations: 20.92 kB / 272.4 MB, free: 13.5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.006989, allocations: 213.5 kB / 272.6 MB, free: 13.27 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.007008, allocations: 8.375 kB / 272.6 MB, free: 13.26 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.007022, allocations: 4.375 kB / 272.6 MB, free: 13.25 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.007147, allocations: 86.67 kB / 272.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.007157, allocations: 3.938 kB / 272.7 MB, free: 13.15 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.046e-06/0.007165, allocations: 0 / 272.7 MB, free: 13.15 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.413e-06/0.007171, allocations: 4 kB / 272.7 MB, free: 13.15 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.376e-05/0.007205, allocations: 21.64 kB / 272.7 MB, free: 13.12 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002483/0.007454, allocations: 213.5 kB / 272.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.007568, allocations: 118.8 kB / 273 MB, free: 12.76 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.83e-05/0.007596, allocations: 25.7 kB / 273.1 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.007607, allocations: 0 / 273.1 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001273/0.007734, allocations: 115.7 kB / 273.2 MB, free: 12.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 7.82e-07/0.007735, allocations: 0 / 273.2 MB, free: 12.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001665/0.007901, allocations: 107.2 kB / 273.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.007932, allocations: 81.05 kB / 273.4 MB, free: 12.38 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.008095, allocations: 260.7 kB / 273.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.008117, allocations: 37.69 kB / 273.7 MB, free: 12.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.224e-05/0.008169, allocations: 108.7 kB / 273.8 MB, free: 11.96 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.008201, allocations: 35.72 kB / 273.8 MB, free: 11.92 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.008235, allocations: 29.69 kB / 273.8 MB, free: 11.89 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.165e-05/0.008317, allocations: 338.8 kB / 274.2 MB, free: 11.55 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.98e-05/0.008337, allocations: 10.83 kB / 274.2 MB, free: 11.54 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.47e-05/0.008381, allocations: 73.98 kB / 274.2 MB, free: 11.44 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.142e-05/0.008443, allocations: 71.84 kB / 274.3 MB, free: 11.36 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.008445, allocations: 0 / 274.3 MB, free: 11.36 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 9.486e-05/0.00854, allocations: 99.12 kB / 274.4 MB, free: 11.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.008552, allocations: 8 kB / 274.4 MB, free: 11.24 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.008556, allocations: 0 / 274.4 MB, free: 11.24 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.008569, allocations: 0 / 274.4 MB, free: 11.24 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.712e-05/0.008646, allocations: 28.61 kB / 274.4 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.008649, allocations: 4 kB / 274.5 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.326e-05/0.008693, allocations: 19.94 kB / 274.5 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.008699, allocations: 7.938 kB / 274.5 MB, free: 11.18 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 7.298e-05/0.008772, allocations: 120.7 kB / 274.6 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.147e-05/0.008794, allocations: 23.92 kB / 274.6 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.008917, allocations: 99.38 kB / 274.7 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.008921, allocations: 4 kB / 274.7 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.008923, allocations: 0 / 274.7 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.008927, allocations: 3.984 kB / 274.7 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.851e-05/0.009026, allocations: 109.8 kB / 274.8 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.009027, allocations: 8 kB / 274.8 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.852e-05/0.009056, allocations: 11.98 kB / 274.9 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.249e-05/0.009078, allocations: 27.8 kB / 274.9 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.009081, allocations: 3.938 kB / 274.9 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.009089, allocations: 4 kB / 274.9 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.009091, allocations: 3.984 kB / 274.9 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.009092, allocations: 0 / 274.9 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.861e-05/0.009191, allocations: 126.4 kB / 275 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.009211, allocations: 3.938 kB / 275 MB, free: 10.58 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.343e-05/0.009245, allocations: 11.98 kB / 275 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.009277, allocations: 15.92 kB / 275 MB, free: 10.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.009287, allocations: 4 kB / 275 MB, free: 10.55 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.952e-05/0.009367, allocations: 107.5 kB / 275.2 MB, free: 10.44 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009367, allocations: 0 / 275.2 MB, free: 10.44 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001377/0.009504, allocations: 39.92 kB / 275.2 MB, free: 10.4 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.001106/0.01061, allocations: 0.5587 MB / 275.8 MB, free: 9.828 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001181/0.01073, allocations: 68.94 kB / 275.8 MB, free: 9.758 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.01074, allocations: 8.188 kB / 275.8 MB, free: 9.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.984e-05/0.01079, allocations: 40.97 kB / 275.9 MB, free: 9.707 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.01108, allocations: 397 kB / 276.3 MB, free: 9.25 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005765/0.01166, allocations: 341.5 kB / 276.6 MB, free: 8.887 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.754e-05/0.01171, allocations: 83.97 kB / 276.7 MB, free: 8.785 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.61e-05/0.01176, allocations: 29.94 kB / 276.7 MB, free: 8.758 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.506e-05/0.01186, allocations: 95.28 kB / 276.8 MB, free: 8.664 MB / 282.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01186, allocations: 0 / 276.8 MB, free: 8.664 MB / 282.7 MB Notification: Performance of Templates: time 0.00525/0.01711, allocations: 3.555 MB / 280.3 MB, free: 5.105 MB / 282.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 240] 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","",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: 2.8847442381083965]