Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.001292/0.001292, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009814/0.0009814, allocations: 161.9 kB / 24.99 MB, free: 8.336 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.058/1.058, allocations: 177.1 MB / 205.3 MB, free: 5.621 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.3172/0.3172, allocations: 34.26 MB / 296 MB, free: 0.7773 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 378.1 MB, free: 2.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.68e-05, allocations: 5.547 kB / 378.1 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002726/0.002753, allocations: 1.766 MB / 379.9 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.004138, allocations: 1.005 MB / 380.9 MB, free: 128 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.765e-05/0.004226, allocations: 0 / 380.9 MB, free: 128 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003402/0.004566, allocations: 87.62 kB / 381 MB, free: 40 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003701/0.004936, allocations: 119.5 kB / 381.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.005178, allocations: 79.55 kB / 381.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.005393, allocations: 119.6 kB / 381.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.005511, allocations: 7.984 kB / 381.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.005619, allocations: 67.77 kB / 381.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.005728, allocations: 55.86 kB / 381.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.005747, allocations: 4 kB / 381.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.191e-05/0.005839, allocations: 43.92 kB / 381.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.259e-05/0.005891, allocations: 27.91 kB / 381.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.999e-05/0.005931, allocations: 27.86 kB / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.00611, allocations: 103.7 kB / 381.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.006113, allocations: 3.938 kB / 381.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.006114, allocations: 0 / 381.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.006119, allocations: 0 / 381.6 MB, free: 15.39 MB / 362.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.0004736/0.006593, allocations: 451.8 kB / 382.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.006629, allocations: 8.031 kB / 382.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.066e-05/0.006679, allocations: 24.78 kB / 382.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.00685, allocations: 152.4 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.006866, allocations: 384 / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.006887, allocations: 8.328 kB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.007011, allocations: 58.94 kB / 382.3 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.00702, allocations: 7.938 kB / 382.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.00703, allocations: 7.922 kB / 382.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.007037, allocations: 4 kB / 382.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.375e-05/0.007071, allocations: 8 kB / 382.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003095/0.00738, allocations: 287.8 kB / 382.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.007488, allocations: 51.16 kB / 382.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.075e-05/0.007519, allocations: 27.56 kB / 382.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.00753, allocations: 0 / 382.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001024/0.007632, allocations: 73.05 kB / 382.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.007633, allocations: 0 / 382.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003792/0.008012, allocations: 161.3 kB / 382.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.008045, allocations: 59.39 kB / 383 MB, free: 13.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.00819, allocations: 242.7 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.008203, allocations: 25.7 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.279e-05/0.008265, allocations: 158.9 kB / 383.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.008293, allocations: 27.75 kB / 383.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.008331, allocations: 31.36 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.008456, allocations: 0.4962 MB / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.125e-05/0.008487, allocations: 16 kB / 384 MB, free: 12.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.596e-05/0.008523, allocations: 35.3 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.185e-05/0.008585, allocations: 55.38 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.008586, allocations: 0 / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001193/0.008705, allocations: 89.56 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.008718, allocations: 8 kB / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.008723, allocations: 0 / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.008738, allocations: 3.984 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.46e-05/0.008812, allocations: 15.98 kB / 384.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.008818, allocations: 8.031 kB / 384.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.123e-05/0.00885, allocations: 4 kB / 384.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.008855, allocations: 4 kB / 384.2 MB, free: 12.59 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 7.791e-05/0.008933, allocations: 168.4 kB / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.892e-05/0.008952, allocations: 19.91 kB / 384.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001516/0.009104, allocations: 99.12 kB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/0.009108, allocations: 4 kB / 384.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.009112, allocations: 3.938 kB / 384.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.009117, allocations: 0 / 384.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.00943, allocations: 405 kB / 384.9 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.009432, allocations: 3.938 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.909e-05/0.009461, allocations: 8 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.009463, allocations: 0 / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.009471, allocations: 4 kB / 384.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.009474, allocations: 3.984 kB / 384.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.009475, allocations: 0 / 384.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.009633, allocations: 259.4 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.482e-05/0.009648, allocations: 7.953 kB / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.00967, allocations: 8.375 kB / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.42e-05/0.009714, allocations: 32 / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.009752, allocations: 11.98 kB / 385.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.009768, allocations: 8 kB / 385.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.427e-05/0.009862, allocations: 189 kB / 385.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009863, allocations: 0 / 385.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001876/0.01005, allocations: 23.94 kB / 385.4 MB, free: 11.31 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.0009115/0.01096, allocations: 432 kB / 385.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001201/0.01108, allocations: 63.56 kB / 385.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.01108, allocations: 0 / 385.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.972e-05/0.01112, allocations: 39.67 kB / 385.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.01135, allocations: 26.56 kB / 385.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003482/0.0117, allocations: 240.6 kB / 386.2 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.25e-05/0.01174, allocations: 75.27 kB / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.31e-05/0.01178, allocations: 12.92 kB / 386.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.19e-05/0.01181, allocations: 24.48 kB / 386.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of SimCode: time 9.81e-07/0.01181, allocations: 4.062 kB / 386.3 MB, free: 10.51 MB / 362.7 MB Notification: Performance of Templates: time 0.003741/0.01555, allocations: 1.882 MB / 388.2 MB, free: 8.656 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.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.3312526040244848]