Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.001859/0.001859, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.003128/0.003128, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 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.589/1.589, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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.3526/0.3526, allocations: 32.8 MB / 293.9 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 179] 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 375.3 MB, free: 4.918 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.58e-05/3.803e-05, allocations: 6.312 kB / 375.3 MB, free: 4.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003487/0.003525, allocations: 1.738 MB / 377.1 MB, free: 3.16 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.00558, allocations: 0.9937 MB / 378.1 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.152e-05/0.005661, allocations: 0 / 378.1 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003479/0.006009, allocations: 43.7 kB / 378.1 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003451/0.006354, allocations: 95.53 kB / 378.2 MB, free: 2.023 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.006591, allocations: 79.59 kB / 378.3 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.006802, allocations: 103.6 kB / 378.4 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.479e-05/0.006896, allocations: 7.984 kB / 378.4 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.007022, allocations: 59.83 kB / 378.5 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.077e-05/0.007113, allocations: 27.91 kB / 378.5 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.007138, allocations: 4 kB / 378.5 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.007253, allocations: 51.84 kB / 378.5 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.702e-05/0.00732, allocations: 19.94 kB / 378.6 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.195e-05/0.007392, allocations: 19.92 kB / 378.6 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.007628, allocations: 111.6 kB / 378.7 MB, free: 1.547 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.007632, allocations: 0 / 378.7 MB, free: 1.547 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.007633, allocations: 0 / 378.7 MB, free: 1.547 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.007639, allocations: 0 / 378.7 MB, free: 1.547 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000691/0.00833, allocations: 447.6 kB / 379.1 MB, free: 1.074 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.008369, allocations: 12.03 kB / 379.1 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.189e-05/0.008431, allocations: 12.89 kB / 379.2 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.008695, allocations: 160.3 kB / 379.3 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.008709, allocations: 384 / 379.3 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.00873, allocations: 4.375 kB / 379.3 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.008878, allocations: 50.23 kB / 379.4 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.008896, allocations: 3.938 kB / 379.4 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.008909, allocations: 4 kB / 379.4 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.008913, allocations: 0 / 379.4 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.541e-05/0.008988, allocations: 15.98 kB / 379.4 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000455/0.009443, allocations: 295.8 kB / 379.7 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.009633, allocations: 63.17 kB / 379.7 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.444e-05/0.009698, allocations: 27.61 kB / 379.8 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.009717, allocations: 3.984 kB / 379.8 MB, free: 360 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.009882, allocations: 72.98 kB / 379.8 MB, free: 272 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.009883, allocations: 0 / 379.8 MB, free: 272 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005999/0.01048, allocations: 177.7 kB / 380 MB, free: 88 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.01053, allocations: 59.33 kB / 380.1 MB, free: 16 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.0108, allocations: 254.5 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.01083, allocations: 25.7 kB / 380.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.01094, allocations: 158.8 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.01098, allocations: 23.84 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.375e-05/0.01103, allocations: 31.38 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002918/0.01132, allocations: 0.5001 MB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.253e-05/0.01139, allocations: 20.05 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.801e-05/0.01147, allocations: 43.36 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.0116, allocations: 71.23 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.0116, allocations: 0 / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002065/0.0118, allocations: 97.64 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.01182, allocations: 10.06 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.01182, allocations: 0 / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.01184, allocations: 4 kB / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.01194, allocations: 23.92 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.01195, allocations: 0 / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/0.012, allocations: 7.953 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.012, allocations: 0 / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001528/0.01216, allocations: 172.5 kB / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.01219, allocations: 11.95 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002724/0.01246, allocations: 119.2 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01246, allocations: 8 kB / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.01246, allocations: 0 / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.01247, allocations: 3.984 kB / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005497/0.01302, allocations: 412.9 kB / 382 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01302, allocations: 4 kB / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.168e-05/0.01308, allocations: 8 kB / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01308, allocations: 0 / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.01309, allocations: 7.984 kB / 382.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01309, allocations: 0 / 382.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.0131, allocations: 3.938 kB / 382.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003313/0.01343, allocations: 267.5 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.041e-05/0.01345, allocations: 15.84 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.01347, allocations: 4 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.926e-05/0.01354, allocations: 4 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.01359, allocations: 7.984 kB / 382.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.0136, allocations: 7.938 kB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001608/0.01376, allocations: 183.8 kB / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01376, allocations: 0 / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002652/0.01403, allocations: 20 kB / 382.6 MB, free: 13.37 MB / 362.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003431/0.01746, allocations: 491.3 kB / 383 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002308/0.01769, allocations: 71.53 kB / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.01769, allocations: 0 / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.0178, allocations: 47.59 kB / 383.2 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.01819, allocations: 32.09 kB / 383.2 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005605/0.01875, allocations: 222.3 kB / 383.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.01887, allocations: 96.3 kB / 383.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.191e-05/0.01892, allocations: 17.27 kB / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.321e-05/0.01897, allocations: 20.5 kB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01897, allocations: 4 kB / 383.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of Templates: time 0.00585/0.02482, allocations: 1.862 MB / 385.4 MB, free: 10.7 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.991938794963062]