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.0009959/0.0009959, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.001061/0.001061, allocations: 170.5 kB / 24.91 MB, free: 9.18 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 1.005/1.005, allocations: 177.1 MB / 205.3 MB, free: 5.453 MB / 186.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.2513/0.2513, allocations: 32.8 MB / 294.6 MB, free: 1.164 MB / 266.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.302e-06/1.302e-06, allocations: 0 / 323.4 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.252e-05, allocations: 2.969 kB / 323.4 MB, free: 9.543 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002659/0.002681, allocations: 2.027 MB / 325.4 MB, free: 7.504 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.004167, allocations: 1.175 MB / 326.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.004268, allocations: 0 / 326.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005601/0.004828, allocations: 207.2 kB / 326.8 MB, free: 6.121 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003396/0.005167, allocations: 207.1 kB / 327 MB, free: 5.918 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003355/0.005503, allocations: 167.4 kB / 327.1 MB, free: 5.754 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002703/0.005773, allocations: 271.8 kB / 327.4 MB, free: 5.488 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.467e-05/0.005858, allocations: 22.55 kB / 327.4 MB, free: 5.469 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.006015, allocations: 143.6 kB / 327.6 MB, free: 5.328 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.006136, allocations: 99.77 kB / 327.6 MB, free: 5.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.006157, allocations: 12 kB / 327.7 MB, free: 5.219 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.006289, allocations: 59.89 kB / 327.7 MB, free: 5.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.617e-05/0.006355, allocations: 63.75 kB / 327.8 MB, free: 5.098 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.816e-05/0.006404, allocations: 47.8 kB / 327.8 MB, free: 5.051 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.006612, allocations: 183.2 kB / 328 MB, free: 4.871 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.006614, allocations: 0 / 328 MB, free: 4.871 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.006615, allocations: 0 / 328 MB, free: 4.871 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.006619, allocations: 0 / 328 MB, free: 4.871 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.0004564/0.007075, allocations: 474.2 kB / 328.5 MB, free: 4.379 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.007105, allocations: 15.97 kB / 328.5 MB, free: 4.363 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4e-05/0.007145, allocations: 16.92 kB / 328.5 MB, free: 4.348 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.007378, allocations: 218.6 kB / 328.7 MB, free: 4.105 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.007394, allocations: 8.375 kB / 328.7 MB, free: 4.098 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.007405, allocations: 8.359 kB / 328.7 MB, free: 4.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.007534, allocations: 87.33 kB / 328.8 MB, free: 3.992 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.007541, allocations: 3.938 kB / 328.8 MB, free: 3.988 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.007549, allocations: 0 / 328.8 MB, free: 3.988 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.007554, allocations: 0 / 328.8 MB, free: 3.988 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.779e-05/0.007591, allocations: 29.62 kB / 328.8 MB, free: 3.957 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002481/0.007839, allocations: 209.6 kB / 329.1 MB, free: 3.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.00795, allocations: 122.7 kB / 329.2 MB, free: 3.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.015e-05/0.00798, allocations: 29.7 kB / 329.2 MB, free: 3.555 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.007991, allocations: 0 / 329.2 MB, free: 3.555 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001146/0.008105, allocations: 108.7 kB / 329.3 MB, free: 3.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 7.81e-07/0.008106, allocations: 4 kB / 329.3 MB, free: 3.426 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001567/0.008263, allocations: 99.25 kB / 329.4 MB, free: 3.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.008293, allocations: 81.05 kB / 329.5 MB, free: 3.223 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.008464, allocations: 276.7 kB / 329.8 MB, free: 2.938 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.008482, allocations: 33.7 kB / 329.8 MB, free: 2.898 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.837e-05/0.008531, allocations: 116.7 kB / 329.9 MB, free: 2.777 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.008557, allocations: 27.78 kB / 329.9 MB, free: 2.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.008593, allocations: 29.69 kB / 330 MB, free: 2.715 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.301e-05/0.008676, allocations: 338.8 kB / 330.3 MB, free: 2.375 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.263e-05/0.008699, allocations: 14.81 kB / 330.3 MB, free: 2.359 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.638e-05/0.008745, allocations: 81.97 kB / 330.4 MB, free: 2.258 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.327e-05/0.008809, allocations: 68.33 kB / 330.5 MB, free: 2.176 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.008811, allocations: 0 / 330.5 MB, free: 2.176 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001005/0.008912, allocations: 103.1 kB / 330.6 MB, free: 2.066 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.008923, allocations: 4 kB / 330.6 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.008929, allocations: 4 kB / 330.6 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.008939, allocations: 0 / 330.6 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.112e-05/0.00901, allocations: 28.08 kB / 330.6 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.504e-06/0.009013, allocations: 4 kB / 330.6 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.496e-05/0.009058, allocations: 11.89 kB / 330.6 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.009066, allocations: 7.984 kB / 330.6 MB, free: 2.008 MB / 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.281e-05/0.009149, allocations: 136.5 kB / 330.7 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.117e-05/0.00917, allocations: 19.92 kB / 330.8 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.009295, allocations: 99.48 kB / 330.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.009297, allocations: 0 / 330.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.009299, allocations: 0 / 330.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.009303, allocations: 4 kB / 330.9 MB, free: 1.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.009406, allocations: 125.8 kB / 331 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.009407, allocations: 0 / 331 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.986e-05/0.009437, allocations: 15.98 kB / 331 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.009439, allocations: 0 / 331 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.009448, allocations: 7.938 kB / 331 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.009449, allocations: 4.188 kB / 331 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.009451, allocations: 4 kB / 331 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.009553, allocations: 126.4 kB / 331.1 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.24e-05/0.009575, allocations: 23.8 kB / 331.2 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.009597, allocations: 3.938 kB / 331.2 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.629e-05/0.009633, allocations: 15.98 kB / 331.2 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.009665, allocations: 11.92 kB / 331.2 MB, free: 1.355 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.009677, allocations: 4 kB / 331.2 MB, free: 1.352 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.898e-05/0.009766, allocations: 119.4 kB / 331.3 MB, free: 1.234 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.009766, allocations: 0 / 331.3 MB, free: 1.234 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001538/0.00992, allocations: 32 kB / 331.4 MB, free: 1.203 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.001228/0.01115, allocations: 0.5161 MB / 331.9 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001226/0.01127, allocations: 60.78 kB / 331.9 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.01128, allocations: 4 kB / 331.9 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.318e-05/0.01132, allocations: 32.83 kB / 332 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.01153, allocations: 69.39 kB / 332 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004762/0.012, allocations: 364.9 kB / 332.4 MB, free: 400 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.913e-05/0.01206, allocations: 83.97 kB / 332.5 MB, free: 296 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.755e-05/0.01213, allocations: 26 kB / 332.5 MB, free: 268 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.01223, allocations: 95.34 kB / 332.6 MB, free: 172 kB / 298.7 MB Notification: Performance of SimCode: time 1.273e-06/0.01224, allocations: 0 / 332.6 MB, free: 172 kB / 298.7 MB Notification: Performance of Templates: time 0.005368/0.0176, allocations: 3.509 MB / 336.1 MB, free: 12.73 MB / 314.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 -s gbode -gbm=radauIIA3 -emit_protected -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.17110164090991]