Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.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.001264/0.001264, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001267/0.001267, allocations: 165.8 kB / 24.84 MB, free: 8.711 MB / 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.005/1.005, allocations: 158.6 MB / 186.7 MB, free: 2.793 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.1506/0.1506, allocations: 32.38 MB / 271.5 MB, free: 14.41 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 349 MB, free: 9.086 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.167e-05, allocations: 4.281 kB / 349 MB, free: 9.082 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.005429/0.005451, allocations: 1.726 MB / 350.7 MB, free: 7.344 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.006996, allocations: 1.509 MB / 352.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.217e-05/0.007088, allocations: 3.938 kB / 352.2 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003222/0.00741, allocations: 35.83 kB / 352.3 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.007657, allocations: 67.56 kB / 352.3 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.008859, allocations: 91.7 kB / 352.4 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.008995, allocations: 99.69 kB / 352.5 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.981e-05/0.009075, allocations: 8.219 kB / 352.5 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.002e-05/0.009145, allocations: 47.84 kB / 352.6 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.585e-05/0.009241, allocations: 35.83 kB / 352.6 MB, free: 5.441 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.009257, allocations: 8 kB / 352.6 MB, free: 5.434 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.376e-05/0.009351, allocations: 59.91 kB / 352.7 MB, free: 5.375 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.077e-05/0.009392, allocations: 19.91 kB / 352.7 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.656e-05/0.009418, allocations: 15.94 kB / 352.7 MB, free: 5.34 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.009572, allocations: 115.5 kB / 352.8 MB, free: 5.227 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.009574, allocations: 0 / 352.8 MB, free: 5.227 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.009575, allocations: 4 kB / 352.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.009579, allocations: 0 / 352.8 MB, free: 5.223 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.0003419/0.009921, allocations: 439.9 kB / 353.3 MB, free: 4.758 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.73e-05/0.009948, allocations: 8.031 kB / 353.3 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.009981, allocations: 12.89 kB / 353.3 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.01009, allocations: 136.5 kB / 353.4 MB, free: 4.578 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.01011, allocations: 384 / 353.4 MB, free: 4.578 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.01012, allocations: 8.375 kB / 353.4 MB, free: 4.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.01022, allocations: 104 kB / 353.5 MB, free: 4.445 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.01023, allocations: 11.88 kB / 353.5 MB, free: 4.434 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.802e-06/0.01024, allocations: 4 kB / 353.5 MB, free: 4.43 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.01024, allocations: 4 kB / 353.5 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.153e-05/0.01026, allocations: 11.98 kB / 353.6 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001681/0.01043, allocations: 252.4 kB / 353.8 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.154e-05/0.0105, allocations: 51.11 kB / 353.9 MB, free: 4.078 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.712e-05/0.01052, allocations: 23.66 kB / 353.9 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.01053, allocations: 0 / 353.9 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.052e-05/0.0106, allocations: 72.97 kB / 353.9 MB, free: 3.965 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 8.41e-07/0.0106, allocations: 4 kB / 353.9 MB, free: 3.961 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002619/0.01086, allocations: 133.4 kB / 354.1 MB, free: 3.824 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.063e-05/0.01088, allocations: 77.11 kB / 354.2 MB, free: 3.73 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.786e-05/0.01095, allocations: 204.9 kB / 354.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.725e-06/0.01096, allocations: 29.7 kB / 354.4 MB, free: 3.48 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.406e-05/0.01098, allocations: 142.9 kB / 354.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.011, allocations: 27.73 kB / 354.6 MB, free: 3.309 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.653e-05/0.01103, allocations: 31.36 kB / 354.6 MB, free: 3.27 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.786e-05/0.01107, allocations: 0.4962 MB / 355.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.45e-05/0.01108, allocations: 15.92 kB / 355.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.535e-05/0.01111, allocations: 68.75 kB / 355.2 MB, free: 2.66 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.535e-05/0.01114, allocations: 43.44 kB / 355.2 MB, free: 2.609 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.01114, allocations: 0 / 355.2 MB, free: 2.609 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.799e-05/0.01122, allocations: 89.48 kB / 355.3 MB, free: 2.516 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.689e-06/0.01123, allocations: 8 kB / 355.3 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.01123, allocations: 0 / 355.3 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.286e-06/0.01124, allocations: 0 / 355.3 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.377e-05/0.0113, allocations: 16 kB / 355.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.0113, allocations: 4 kB / 355.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.855e-05/0.01133, allocations: 8.047 kB / 355.3 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.01133, allocations: 4 kB / 355.3 MB, free: 2.477 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 4.75e-05/0.01138, allocations: 164.5 kB / 355.5 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.01139, allocations: 11.89 kB / 355.5 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.0115, allocations: 98.38 kB / 355.6 MB, free: 2.191 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.0115, allocations: 0 / 355.6 MB, free: 2.191 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.0115, allocations: 4 kB / 355.6 MB, free: 2.188 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.01151, allocations: 0 / 355.6 MB, free: 2.188 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.01171, allocations: 361.9 kB / 356 MB, free: 1.797 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01171, allocations: 8.031 kB / 356 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.593e-05/0.01174, allocations: 15.98 kB / 356 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.01174, allocations: 0 / 356 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.01175, allocations: 8 kB / 356 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.01175, allocations: 0 / 356 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01175, allocations: 0 / 356 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.66e-05/0.01183, allocations: 247.4 kB / 356.2 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.619e-06/0.01184, allocations: 7.953 kB / 356.2 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.01186, allocations: 4 kB / 356.2 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.296e-05/0.0119, allocations: 7.984 kB / 356.2 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.095e-05/0.01192, allocations: 4 kB / 356.3 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.01193, allocations: 11.98 kB / 356.3 MB, free: 1.465 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.504e-05/0.01197, allocations: 146.1 kB / 356.4 MB, free: 1.324 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01197, allocations: 0 / 356.4 MB, free: 1.324 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001697/0.01214, allocations: 39.92 kB / 356.4 MB, free: 1.285 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.0008445/0.01298, allocations: 490.5 kB / 356.9 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.607e-05/0.01308, allocations: 55.59 kB / 357 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01308, allocations: 0 / 357 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.735e-05/0.01311, allocations: 27.67 kB / 357 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.01331, allocations: 35.77 kB / 357 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002226/0.01353, allocations: 197 kB / 357.2 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.192e-05/0.01355, allocations: 67.25 kB / 357.3 MB, free: 476 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.285e-05/0.0136, allocations: 20.91 kB / 357.3 MB, free: 456 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.887e-05/0.01365, allocations: 106.1 kB / 357.4 MB, free: 348 kB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01366, allocations: 0 / 357.4 MB, free: 348 kB / 282.7 MB Notification: Performance of Templates: time 0.003843/0.0175, allocations: 2.337 MB / 359.8 MB, free: 14.02 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.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.3421307844109833]