Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.001017/0.001017, allocations: 81.08 kB / 20.65 MB, free: 3.84 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.000974/0.000974, allocations: 173 kB / 24.05 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.114/1.114, allocations: 158.6 MB / 185.9 MB, free: 2.812 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1544/0.1544, allocations: 32.38 MB / 270.7 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 348.2 MB, free: 9.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.828e-05/2.013e-05, allocations: 10.19 kB / 348.2 MB, free: 9.082 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002161/0.002181, allocations: 1.721 MB / 349.9 MB, free: 7.352 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009574/0.003139, allocations: 0.7881 MB / 350.7 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.254e-05/0.003231, allocations: 4 kB / 350.7 MB, free: 6.551 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003144/0.003546, allocations: 39.77 kB / 350.8 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.003749, allocations: 51.7 kB / 350.8 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.003938, allocations: 87.64 kB / 350.9 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.004076, allocations: 99.69 kB / 351 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.886e-05/0.004175, allocations: 4.234 kB / 351 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.506e-05/0.00426, allocations: 59.81 kB / 351.1 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.001e-05/0.00433, allocations: 19.92 kB / 351.1 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.004347, allocations: 4 kB / 351.1 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.702e-05/0.004424, allocations: 43.92 kB / 351.1 MB, free: 6.148 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.705e-05/0.004471, allocations: 23.91 kB / 351.1 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.018e-05/0.004511, allocations: 15.94 kB / 351.2 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.004682, allocations: 99.53 kB / 351.3 MB, free: 6.012 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.004684, allocations: 0 / 351.3 MB, free: 6.012 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.004685, allocations: 0 / 351.3 MB, free: 6.012 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.00469, allocations: 0 / 351.3 MB, free: 6.012 MB / 282.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.000409/0.005099, allocations: 432 kB / 351.7 MB, free: 5.555 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.005141, allocations: 8.031 kB / 351.7 MB, free: 5.547 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.005176, allocations: 8.891 kB / 351.7 MB, free: 5.539 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.005299, allocations: 149 kB / 351.8 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.005313, allocations: 4.375 kB / 351.8 MB, free: 5.363 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.00533, allocations: 8.375 kB / 351.9 MB, free: 5.355 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.898e-05/0.005429, allocations: 62.25 kB / 351.9 MB, free: 5.285 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.005438, allocations: 0 / 351.9 MB, free: 5.285 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.005444, allocations: 0 / 351.9 MB, free: 5.285 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.005451, allocations: 4 kB / 351.9 MB, free: 5.281 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.681e-05/0.005478, allocations: 11.98 kB / 351.9 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002161/0.005694, allocations: 252.4 kB / 352.2 MB, free: 4.996 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.768e-05/0.005772, allocations: 63.03 kB / 352.2 MB, free: 4.922 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.062e-05/0.005792, allocations: 23.67 kB / 352.3 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.005807, allocations: 3.984 kB / 352.3 MB, free: 4.891 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.231e-05/0.005879, allocations: 65.05 kB / 352.3 MB, free: 4.812 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.005881, allocations: 0 / 352.3 MB, free: 4.812 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002784/0.006159, allocations: 137.4 kB / 352.5 MB, free: 4.672 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.823e-05/0.006177, allocations: 51.41 kB / 352.5 MB, free: 4.609 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.905e-05/0.006246, allocations: 205.7 kB / 352.7 MB, free: 4.391 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.006254, allocations: 33.7 kB / 352.7 MB, free: 4.352 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.422e-05/0.006288, allocations: 146.8 kB / 352.9 MB, free: 4.203 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.006311, allocations: 31.78 kB / 352.9 MB, free: 4.172 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.006342, allocations: 31.36 kB / 353 MB, free: 4.133 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.785e-05/0.0064, allocations: 0.5 MB / 353.5 MB, free: 3.621 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.289e-05/0.006412, allocations: 8 kB / 353.5 MB, free: 3.613 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.37e-05/0.006436, allocations: 35.3 kB / 353.5 MB, free: 3.57 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.964e-05/0.006476, allocations: 39.36 kB / 353.5 MB, free: 3.523 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.006477, allocations: 0 / 353.5 MB, free: 3.523 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.885e-05/0.006556, allocations: 85.64 kB / 353.6 MB, free: 3.434 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.006566, allocations: 8 kB / 353.6 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.006571, allocations: 4.109 kB / 353.6 MB, free: 3.422 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.006583, allocations: 0 / 353.6 MB, free: 3.422 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.407e-05/0.006637, allocations: 12 kB / 353.6 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.006641, allocations: 7.984 kB / 353.6 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.49e-05/0.006666, allocations: 3.984 kB / 353.7 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.006671, allocations: 4 kB / 353.7 MB, free: 3.395 MB / 282.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 5.198e-05/0.006723, allocations: 168.5 kB / 353.8 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.006735, allocations: 11.91 kB / 353.8 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.006843, allocations: 98.38 kB / 353.9 MB, free: 3.105 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.006844, allocations: 0 / 353.9 MB, free: 3.105 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.006847, allocations: 8 kB / 353.9 MB, free: 3.098 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.006851, allocations: 0 / 353.9 MB, free: 3.098 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.00705, allocations: 357.6 kB / 354.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.007051, allocations: 0 / 354.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.063e-05/0.007072, allocations: 11.98 kB / 354.3 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.007074, allocations: 0 / 354.3 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.007081, allocations: 8.375 kB / 354.3 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.007082, allocations: 0 / 354.3 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.007083, allocations: 4 kB / 354.3 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.007191, allocations: 251.4 kB / 354.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.308e-06/0.0072, allocations: 11.98 kB / 354.6 MB, free: 2.406 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.007214, allocations: 4 kB / 354.6 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.768e-05/0.007252, allocations: 4 kB / 354.6 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.007285, allocations: 11.92 kB / 354.6 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.007297, allocations: 7.938 kB / 354.6 MB, free: 2.379 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.862e-05/0.007336, allocations: 147.1 kB / 354.7 MB, free: 2.234 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007336, allocations: 0 / 354.7 MB, free: 2.234 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001762/0.007512, allocations: 31.92 kB / 354.8 MB, free: 2.203 MB / 282.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.0008337/0.008346, allocations: 436 kB / 355.2 MB, free: 1.871 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001128/0.008458, allocations: 55.53 kB / 355.2 MB, free: 1.812 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.00846, allocations: 0 / 355.2 MB, free: 1.812 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.294e-05/0.008493, allocations: 27.83 kB / 355.3 MB, free: 1.781 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.008718, allocations: 35.97 kB / 355.3 MB, free: 1.746 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002932/0.009011, allocations: 208.9 kB / 355.5 MB, free: 1.512 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.558e-05/0.009047, allocations: 67.34 kB / 355.6 MB, free: 1.426 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.334e-05/0.00908, allocations: 16.61 kB / 355.6 MB, free: 1.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.324e-05/0.009143, allocations: 90.19 kB / 355.7 MB, free: 1.32 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.009144, allocations: 0 / 355.7 MB, free: 1.32 MB / 282.7 MB Notification: Performance of Templates: time 0.003954/0.0131, allocations: 1.998 MB / 357.7 MB, free: 15.34 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.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.229912260081619]