Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.0009146/0.0009146, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.0009786/0.0009786, allocations: 170.8 kB / 24.92 MB, free: 8.773 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.492 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.2824/0.2824, allocations: 32.81 MB / 294.6 MB, free: 1.234 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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 323.3 MB, free: 9.602 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/2.835e-05, allocations: 3.641 kB / 323.3 MB, free: 9.598 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002481/0.002509, allocations: 1.76 MB / 325.1 MB, free: 7.828 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.00388, allocations: 1.001 MB / 326.1 MB, free: 6.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.123e-05/0.003961, allocations: 0 / 326.1 MB, free: 6.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.004254, allocations: 43.7 kB / 326.1 MB, free: 6.777 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00032/0.004574, allocations: 99.47 kB / 326.2 MB, free: 6.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.004787, allocations: 87.66 kB / 326.3 MB, free: 6.594 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.004939, allocations: 103.6 kB / 326.4 MB, free: 6.492 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.132e-05/0.00502, allocations: 17.34 kB / 326.4 MB, free: 6.477 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.849e-05/0.005108, allocations: 47.84 kB / 326.5 MB, free: 6.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.114e-05/0.00518, allocations: 27.91 kB / 326.5 MB, free: 6.402 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.005194, allocations: 4 kB / 326.5 MB, free: 6.398 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.273e-05/0.005277, allocations: 51.84 kB / 326.6 MB, free: 6.348 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.648e-05/0.005323, allocations: 23.92 kB / 326.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.886e-05/0.005352, allocations: 15.94 kB / 326.6 MB, free: 6.309 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.005563, allocations: 95.66 kB / 326.7 MB, free: 6.215 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.005567, allocations: 0 / 326.7 MB, free: 6.215 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.005569, allocations: 4 kB / 326.7 MB, free: 6.211 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.005573, allocations: 4 kB / 326.7 MB, free: 6.207 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003564/0.005929, allocations: 325.2 kB / 327 MB, free: 5.867 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.005959, allocations: 8.031 kB / 327 MB, free: 5.859 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.005988, allocations: 12.92 kB / 327 MB, free: 5.848 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.006123, allocations: 147.4 kB / 327.2 MB, free: 5.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.006137, allocations: 4.375 kB / 327.2 MB, free: 5.676 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.006153, allocations: 384 / 327.2 MB, free: 5.676 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.006266, allocations: 61.77 kB / 327.2 MB, free: 5.605 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.006278, allocations: 11.94 kB / 327.2 MB, free: 5.594 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.006284, allocations: 4 kB / 327.3 MB, free: 5.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.00629, allocations: 0 / 327.3 MB, free: 5.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.914e-05/0.006319, allocations: 11.92 kB / 327.3 MB, free: 5.578 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002101/0.006529, allocations: 170 kB / 327.4 MB, free: 5.395 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.452e-05/0.006624, allocations: 81.3 kB / 327.5 MB, free: 5.305 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.805e-05/0.006642, allocations: 8.859 kB / 327.5 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.006654, allocations: 4 kB / 327.5 MB, free: 5.289 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.417e-05/0.006748, allocations: 70.14 kB / 327.6 MB, free: 5.207 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.006749, allocations: 4 kB / 327.6 MB, free: 5.203 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002955/0.007045, allocations: 109.5 kB / 327.7 MB, free: 5.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.007078, allocations: 59.34 kB / 327.8 MB, free: 5.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.007186, allocations: 180.8 kB / 327.9 MB, free: 4.828 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.007203, allocations: 29.69 kB / 328 MB, free: 4.793 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/0.007238, allocations: 92.12 kB / 328.1 MB, free: 4.699 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.007271, allocations: 31.77 kB / 328.1 MB, free: 4.668 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.007297, allocations: 17.72 kB / 328.1 MB, free: 4.645 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.313e-05/0.00737, allocations: 326.8 kB / 328.4 MB, free: 4.316 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.726e-05/0.007387, allocations: 14.81 kB / 328.4 MB, free: 4.301 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.055e-05/0.007408, allocations: 21.72 kB / 328.5 MB, free: 4.273 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.316e-05/0.007451, allocations: 56.5 kB / 328.5 MB, free: 4.211 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.007452, allocations: 3.938 kB / 328.5 MB, free: 4.207 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.317e-05/0.007525, allocations: 72.44 kB / 328.6 MB, free: 4.129 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.007536, allocations: 4 kB / 328.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.00754, allocations: 0 / 328.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.00755, allocations: 4 kB / 328.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.448e-05/0.007605, allocations: 15.94 kB / 328.6 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-06/0.007607, allocations: 0 / 328.6 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.419e-05/0.007631, allocations: 8.016 kB / 328.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.007637, allocations: 4 kB / 328.6 MB, free: 4.094 MB / 298.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 6.062e-05/0.007697, allocations: 116.7 kB / 328.7 MB, free: 3.969 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.386e-05/0.007711, allocations: 15.91 kB / 328.8 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.007815, allocations: 75.08 kB / 328.8 MB, free: 3.871 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.007818, allocations: 4 kB / 328.8 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.007819, allocations: 384 / 328.8 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.007822, allocations: 0 / 328.8 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.008028, allocations: 303.4 kB / 329.1 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.00803, allocations: 8.031 kB / 329.1 MB, free: 3.535 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.243e-05/0.008052, allocations: 8 kB / 329.1 MB, free: 3.527 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.008054, allocations: 0 / 329.1 MB, free: 3.527 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.00806, allocations: 0 / 329.1 MB, free: 3.527 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.008062, allocations: 4 kB / 329.1 MB, free: 3.523 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.008063, allocations: 0 / 329.1 MB, free: 3.523 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.26e-05/0.008156, allocations: 215 kB / 329.4 MB, free: 3.293 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.159e-05/0.008168, allocations: 7.953 kB / 329.4 MB, free: 3.285 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.008188, allocations: 8 kB / 329.4 MB, free: 3.277 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.51e-05/0.008223, allocations: 0 / 329.4 MB, free: 3.277 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.263e-05/0.008246, allocations: 7.984 kB / 329.4 MB, free: 3.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.008257, allocations: 8 kB / 329.4 MB, free: 3.262 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.955e-05/0.008296, allocations: 51.62 kB / 329.4 MB, free: 3.207 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.008297, allocations: 0 / 329.4 MB, free: 3.207 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001404/0.008437, allocations: 27.94 kB / 329.5 MB, free: 3.18 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: 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.001213/0.00965, allocations: 0.587 MB / 330.1 MB, free: 2.898 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.682e-05/0.009747, allocations: 40.78 kB / 330.1 MB, free: 2.855 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.009751, allocations: 0 / 330.1 MB, free: 2.855 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.053e-05/0.009781, allocations: 20.86 kB / 330.1 MB, free: 2.832 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001878/0.009969, allocations: 31.91 kB / 330.1 MB, free: 2.801 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/0.01027, allocations: 219.6 kB / 330.4 MB, free: 2.555 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.832e-05/0.01031, allocations: 75.45 kB / 330.4 MB, free: 2.461 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.495e-05/0.01035, allocations: 17.28 kB / 330.4 MB, free: 2.441 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.172e-05/0.01041, allocations: 71.36 kB / 330.5 MB, free: 2.371 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01041, allocations: 0 / 330.5 MB, free: 2.371 MB / 298.7 MB Notification: Performance of Templates: time 0.003528/0.01394, allocations: 2.019 MB / 332.5 MB, free: 396 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.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.9664434590376914]