Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009449/0.0009449, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009124/0.0009124, allocations: 171.8 kB / 24.92 MB, free: 8.723 MB / 18.57 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 0.9308/0.9308, allocations: 177.1 MB / 205.3 MB, free: 5.109 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2413/0.2413, allocations: 34.25 MB / 296.1 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 325.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.578e-05/1.688e-05, allocations: 9.891 kB / 325.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.004632/0.004649, allocations: 1.986 MB / 327.3 MB, free: 5.633 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001542/0.006191, allocations: 1.177 MB / 328.5 MB, free: 4.449 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.494e-05/0.006266, allocations: 4 kB / 328.5 MB, free: 4.445 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004517/0.01078, allocations: 203.3 kB / 328.7 MB, free: 4.246 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.01112, allocations: 207.1 kB / 328.9 MB, free: 4.043 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.01141, allocations: 167.4 kB / 329.1 MB, free: 3.879 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001483/0.01289, allocations: 275.6 kB / 329.3 MB, free: 3.609 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.163e-05/0.01296, allocations: 22.55 kB / 329.3 MB, free: 3.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.01313, allocations: 143.6 kB / 329.5 MB, free: 3.449 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.01325, allocations: 99.69 kB / 329.6 MB, free: 3.352 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.01327, allocations: 12 kB / 329.6 MB, free: 3.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.01338, allocations: 63.89 kB / 329.7 MB, free: 3.277 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.2e-05/0.01344, allocations: 55.77 kB / 329.7 MB, free: 3.223 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.5e-05/0.01349, allocations: 47.86 kB / 329.8 MB, free: 3.176 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.01372, allocations: 191.2 kB / 329.9 MB, free: 2.988 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.433e-06/0.01372, allocations: 0 / 329.9 MB, free: 2.988 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.01372, allocations: 0 / 329.9 MB, free: 2.988 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.304e-06/0.01372, allocations: 0 / 329.9 MB, free: 2.988 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.0004575/0.01418, allocations: 466.3 kB / 330.4 MB, free: 2.504 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/0.01421, allocations: 15.97 kB / 330.4 MB, free: 2.488 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.01425, allocations: 16.92 kB / 330.4 MB, free: 2.473 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.01447, allocations: 226.5 kB / 330.7 MB, free: 2.223 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.01449, allocations: 4.375 kB / 330.7 MB, free: 2.219 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.0145, allocations: 12.38 kB / 330.7 MB, free: 2.207 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.01464, allocations: 84.05 kB / 330.8 MB, free: 2.113 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.01465, allocations: 3.938 kB / 330.8 MB, free: 2.109 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.01466, allocations: 0 / 330.8 MB, free: 2.109 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.01467, allocations: 0 / 330.8 MB, free: 2.109 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.263e-05/0.01471, allocations: 25.58 kB / 330.8 MB, free: 2.082 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000242/0.01495, allocations: 205.6 kB / 331 MB, free: 1.859 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.01508, allocations: 130.7 kB / 331.1 MB, free: 1.711 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.319e-05/0.01511, allocations: 37.64 kB / 331.1 MB, free: 1.668 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/0.01512, allocations: 0 / 331.1 MB, free: 1.668 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001095/0.01523, allocations: 107.8 kB / 331.3 MB, free: 1.543 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 7.92e-07/0.01523, allocations: 0 / 331.3 MB, free: 1.543 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001559/0.01539, allocations: 103.2 kB / 331.4 MB, free: 1.434 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003039/0.01842, allocations: 77.11 kB / 331.4 MB, free: 1.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.01863, allocations: 272.7 kB / 331.7 MB, free: 1.059 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.01866, allocations: 33.7 kB / 331.7 MB, free: 1.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.138e-05/0.01871, allocations: 120.7 kB / 331.8 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.01874, allocations: 31.77 kB / 331.9 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.01878, allocations: 29.69 kB / 331.9 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.487e-05/0.01887, allocations: 338.8 kB / 332.2 MB, free: 496 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.489e-05/0.01889, allocations: 10.83 kB / 332.2 MB, free: 484 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.304e-05/0.01894, allocations: 76.36 kB / 332.3 MB, free: 388 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.185e-05/0.01902, allocations: 67.83 kB / 332.4 MB, free: 304 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.01902, allocations: 0 / 332.4 MB, free: 304 kB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001563/0.01917, allocations: 103.2 kB / 332.5 MB, free: 192 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.01918, allocations: 7.938 kB / 332.5 MB, free: 184 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.01919, allocations: 0.625 kB / 332.5 MB, free: 184 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.0192, allocations: 7.984 kB / 332.5 MB, free: 176 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.311e-05/0.01927, allocations: 16 kB / 332.5 MB, free: 160 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.01928, allocations: 0 / 332.5 MB, free: 160 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.837e-05/0.01934, allocations: 23.88 kB / 332.5 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.01934, allocations: 4 kB / 332.5 MB, free: 132 kB / 298.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 8.643e-05/0.01943, allocations: 128.7 kB / 332.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.01946, allocations: 27.97 kB / 332.7 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001317/0.01959, allocations: 95.5 kB / 332.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.01959, allocations: 7.984 kB / 332.8 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.0196, allocations: 0 / 332.8 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.0196, allocations: 3.828 kB / 332.8 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.01972, allocations: 125.8 kB / 332.9 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01972, allocations: 0 / 332.9 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.856e-05/0.01975, allocations: 8 kB / 332.9 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.01975, allocations: 3.984 kB / 332.9 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.01976, allocations: 15.92 kB / 333 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.01976, allocations: 4 kB / 333 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01976, allocations: 0 / 333 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.01987, allocations: 119.1 kB / 333.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.676e-05/0.0199, allocations: 27.78 kB / 333.1 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.01993, allocations: 7.938 kB / 333.1 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.31e-05/0.01997, allocations: 4 kB / 333.1 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.02, allocations: 15.97 kB / 333.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.02001, allocations: 4 kB / 333.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001058/0.02012, allocations: 115.5 kB / 333.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02012, allocations: 0 / 333.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000206/0.02033, allocations: 43.98 kB / 333.3 MB, free: 15.32 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.002319/0.02265, allocations: 0.5052 MB / 333.8 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.02277, allocations: 64.75 kB / 333.9 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/0.02278, allocations: 4 kB / 333.9 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.886e-05/0.02283, allocations: 36.77 kB / 333.9 MB, free: 14.97 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.02304, allocations: 64.64 kB / 334 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004686/0.0235, allocations: 364.3 kB / 334.3 MB, free: 14.52 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.602e-05/0.02355, allocations: 87.97 kB / 334.4 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.404e-05/0.02361, allocations: 30.08 kB / 334.4 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.193e-05/0.0237, allocations: 87.36 kB / 334.5 MB, free: 14.3 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.0237, allocations: 0 / 334.5 MB, free: 14.3 MB / 314.7 MB Notification: Performance of Templates: time 0.004592/0.02829, allocations: 3.503 MB / 338 MB, free: 10.85 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.9225113540887833]