Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.00103/0.00103, allocations: 67.77 kB / 21.69 MB, free: 2.848 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.00118/0.00118, allocations: 165.3 kB / 24.99 MB, free: 9.32 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.086/1.086, allocations: 177.1 MB / 205.3 MB, free: 5.605 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.2733/0.2733, allocations: 32.8 MB / 294.6 MB, free: 1.281 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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 376.1 MB, free: 4.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.953e-05/3.138e-05, allocations: 6.25 kB / 376.1 MB, free: 4.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002917/0.002948, allocations: 1.722 MB / 377.8 MB, free: 3.137 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.004302, allocations: 0.9897 MB / 378.8 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.004411, allocations: 0 / 378.8 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003944/0.004805, allocations: 47.75 kB / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003457/0.005151, allocations: 107.5 kB / 378.9 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.005363, allocations: 79.66 kB / 379 MB, free: 1.91 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002198/0.005583, allocations: 107.6 kB / 379.1 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.368e-05/0.005667, allocations: 8.234 kB / 379.1 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.005777, allocations: 39.91 kB / 379.2 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.471e-05/0.005872, allocations: 31.84 kB / 379.2 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.005893, allocations: 4 kB / 379.2 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.006002, allocations: 31.98 kB / 379.2 MB, free: 1.691 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.82e-05/0.00609, allocations: 27.86 kB / 379.3 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.914e-05/0.006149, allocations: 27.84 kB / 379.3 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002765/0.006426, allocations: 99.66 kB / 379.4 MB, free: 1.539 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.006434, allocations: 0 / 379.4 MB, free: 1.539 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.006436, allocations: 0 / 379.4 MB, free: 1.539 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.006444, allocations: 0 / 379.4 MB, free: 1.539 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006859/0.00713, allocations: 475.6 kB / 379.9 MB, free: 1.039 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.007184, allocations: 12.03 kB / 379.9 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.516e-05/0.007259, allocations: 12.84 kB / 379.9 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.007477, allocations: 165.2 kB / 380 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.007499, allocations: 4.312 kB / 380 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.007511, allocations: 4.375 kB / 380.1 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.007651, allocations: 58.94 kB / 380.1 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.007661, allocations: 3.938 kB / 380.1 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.00767, allocations: 0 / 380.1 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.007679, allocations: 0 / 380.1 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.733e-05/0.007716, allocations: 15.98 kB / 380.1 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001729/0.007889, allocations: 152.7 kB / 380.3 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.008008, allocations: 51.05 kB / 380.3 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.13e-05/0.008039, allocations: 15.67 kB / 380.3 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.008053, allocations: 0 / 380.3 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001225/0.008175, allocations: 65.05 kB / 380.4 MB, free: 396 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.613e-06/0.008177, allocations: 0 / 380.4 MB, free: 396 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002223/0.008399, allocations: 93.45 kB / 380.5 MB, free: 296 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.008441, allocations: 59.41 kB / 380.6 MB, free: 224 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.008639, allocations: 278.8 kB / 380.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.008655, allocations: 25.7 kB / 380.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.989e-05/0.008725, allocations: 162.9 kB / 381 MB, free: 15.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.008761, allocations: 15.91 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.008801, allocations: 27.36 kB / 381.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.008943, allocations: 0.4962 MB / 381.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.92e-05/0.008972, allocations: 8 kB / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.812e-05/0.009011, allocations: 31.36 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.939e-05/0.00907, allocations: 39.62 kB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.009073, allocations: 0 / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001087/0.009181, allocations: 77.53 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.009199, allocations: 8 kB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.009207, allocations: 3.938 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.009224, allocations: 0 / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.009325, allocations: 15.92 kB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.009333, allocations: 3.938 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.895e-05/0.009372, allocations: 8 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.009379, allocations: 4 kB / 381.7 MB, free: 14.95 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 (7): * Single equations (assignments): 7 * 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 9.606e-05/0.009475, allocations: 156.6 kB / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.009498, allocations: 23.89 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/0.009661, allocations: 86.77 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.009663, allocations: 0 / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.009667, allocations: 0 / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.009673, allocations: 3.984 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.009795, allocations: 168.4 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.009797, allocations: 0 / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.896e-05/0.009826, allocations: 7.938 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.009829, allocations: 4 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.009839, allocations: 8 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.009842, allocations: 3.938 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.009843, allocations: 0 / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.009969, allocations: 116.3 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.261e-05/0.009992, allocations: 12.09 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.01002, allocations: 12 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.428e-05/0.01005, allocations: 3.938 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.01009, allocations: 7.984 kB / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.01011, allocations: 0 / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001107/0.01022, allocations: 192.5 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01022, allocations: 0 / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000162/0.01038, allocations: 27.98 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0009796/0.01136, allocations: 384.5 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001421/0.0115, allocations: 43.66 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.0115, allocations: 0 / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.684e-05/0.01154, allocations: 23.62 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.01178, allocations: 31.75 kB / 383 MB, free: 13.72 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004553/0.01223, allocations: 238.5 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.473e-05/0.01228, allocations: 71.33 kB / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.764e-05/0.01232, allocations: 12.48 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.01235, allocations: 16.5 kB / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01235, allocations: 4.062 kB / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of Templates: time 0.004018/0.01637, allocations: 1.675 MB / 385 MB, free: 11.68 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.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.4388027251698077]