Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001392/0.001392, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001721/0.001721, allocations: 169 kB / 24.24 MB, free: 312 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.139/1.139, allocations: 158.6 MB / 186 MB, free: 2.93 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.1421/0.1421, allocations: 32.37 MB / 270.7 MB, free: 14.78 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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 3.938 kB / 347.7 MB, free: 9.707 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/3.027e-05, allocations: 4.281 kB / 347.7 MB, free: 9.703 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003193/0.003224, allocations: 1.695 MB / 349.4 MB, free: 7.996 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.004528, allocations: 0.7687 MB / 350.2 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.00463, allocations: 4 kB / 350.2 MB, free: 7.215 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003922/0.005022, allocations: 55.7 kB / 350.3 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003049/0.005327, allocations: 59.67 kB / 350.3 MB, free: 7.102 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.005594, allocations: 87.7 kB / 350.4 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00019/0.005784, allocations: 91.69 kB / 350.5 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.021e-05/0.005834, allocations: 3.938 kB / 350.5 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.005953, allocations: 51.84 kB / 350.6 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.716e-05/0.00605, allocations: 27.89 kB / 350.6 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.006075, allocations: 4 kB / 350.6 MB, free: 6.84 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.937e-05/0.006165, allocations: 31.94 kB / 350.6 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.013e-05/0.006235, allocations: 23.92 kB / 350.6 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.194e-05/0.006287, allocations: 23.86 kB / 350.7 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.006523, allocations: 99.59 kB / 350.8 MB, free: 6.664 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.006527, allocations: 0 / 350.8 MB, free: 6.664 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.006529, allocations: 4 kB / 350.8 MB, free: 6.66 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.006535, allocations: 0 / 350.8 MB, free: 6.66 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005476/0.007082, allocations: 455.8 kB / 351.2 MB, free: 6.18 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.049e-05/0.007143, allocations: 16.03 kB / 351.2 MB, free: 6.164 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/0.007209, allocations: 12.84 kB / 351.2 MB, free: 6.152 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.007431, allocations: 160.4 kB / 351.4 MB, free: 5.969 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.00745, allocations: 384 / 351.4 MB, free: 5.969 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.007462, allocations: 4.375 kB / 351.4 MB, free: 5.965 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.007626, allocations: 58.88 kB / 351.5 MB, free: 5.898 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.007635, allocations: 7.875 kB / 351.5 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.007647, allocations: 0 / 351.5 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.007657, allocations: 0 / 351.5 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.424e-05/0.007702, allocations: 11.98 kB / 351.5 MB, free: 5.879 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.007885, allocations: 148.7 kB / 351.6 MB, free: 5.699 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.008025, allocations: 55.09 kB / 351.7 MB, free: 5.633 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.117e-05/0.008066, allocations: 19.67 kB / 351.7 MB, free: 5.609 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.008082, allocations: 0 / 351.7 MB, free: 5.609 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001292/0.008212, allocations: 68.98 kB / 351.8 MB, free: 5.527 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/0.008213, allocations: 0 / 351.8 MB, free: 5.527 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002483/0.008462, allocations: 89.53 kB / 351.9 MB, free: 5.434 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.008492, allocations: 51.41 kB / 351.9 MB, free: 5.371 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.00867, allocations: 269.4 kB / 352.2 MB, free: 5.09 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.008683, allocations: 33.7 kB / 352.2 MB, free: 5.051 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.094e-05/0.008734, allocations: 162.8 kB / 352.4 MB, free: 4.887 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.29e-05/0.008777, allocations: 19.84 kB / 352.4 MB, free: 4.867 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.008817, allocations: 27.36 kB / 352.4 MB, free: 4.832 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.252e-05/0.00889, allocations: 0.5001 MB / 352.9 MB, free: 4.32 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.672e-05/0.008916, allocations: 4 kB / 352.9 MB, free: 4.316 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.828e-05/0.008955, allocations: 35.34 kB / 352.9 MB, free: 4.273 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.043e-05/0.009015, allocations: 31.62 kB / 353 MB, free: 4.234 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.009018, allocations: 0 / 353 MB, free: 4.234 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001315/0.009149, allocations: 85.53 kB / 353.1 MB, free: 4.145 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.009167, allocations: 8 kB / 353.1 MB, free: 4.137 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.009173, allocations: 3.938 kB / 353.1 MB, free: 4.133 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.009188, allocations: 0 / 353.1 MB, free: 4.133 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.505e-05/0.009283, allocations: 11.98 kB / 353.1 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.00929, allocations: 0 / 353.1 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.827e-05/0.009338, allocations: 8 kB / 353.1 MB, free: 4.113 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.009347, allocations: 4 kB / 353.1 MB, free: 4.109 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 (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 6.954e-05/0.009416, allocations: 156.5 kB / 353.2 MB, free: 3.945 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.009443, allocations: 19.89 kB / 353.3 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001725/0.009615, allocations: 94.8 kB / 353.4 MB, free: 3.824 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.009618, allocations: 0 / 353.4 MB, free: 3.824 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.009627, allocations: 0 / 353.4 MB, free: 3.824 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.009631, allocations: 0 / 353.4 MB, free: 3.824 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.009761, allocations: 160.5 kB / 353.5 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.009762, allocations: 0 / 353.5 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.51e-05/0.009797, allocations: 4 kB / 353.5 MB, free: 3.629 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.009801, allocations: 0 / 353.5 MB, free: 3.629 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.009811, allocations: 0 / 353.5 MB, free: 3.629 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.009817, allocations: 7.938 kB / 353.5 MB, free: 3.621 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.009818, allocations: 3.938 kB / 353.5 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.009987, allocations: 124.3 kB / 353.6 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/0.01001, allocations: 11.91 kB / 353.7 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.01004, allocations: 0 / 353.7 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.698e-05/0.01009, allocations: 4.125 kB / 353.7 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.01013, allocations: 11.98 kB / 353.7 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.01015, allocations: 8 kB / 353.7 MB, free: 3.438 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001152/0.01027, allocations: 188.4 kB / 353.9 MB, free: 3.254 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01027, allocations: 0 / 353.9 MB, free: 3.254 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002507/0.01052, allocations: 19.94 kB / 353.9 MB, free: 3.234 MB / 282.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.004333/0.01485, allocations: 392.7 kB / 354.3 MB, free: 2.941 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001953/0.01505, allocations: 43.61 kB / 354.3 MB, free: 2.895 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.01505, allocations: 0 / 354.3 MB, free: 2.895 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.698e-05/0.01509, allocations: 27.73 kB / 354.3 MB, free: 2.863 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.01536, allocations: 33.08 kB / 354.4 MB, free: 2.832 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005501/0.01591, allocations: 229.7 kB / 354.6 MB, free: 2.582 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.517e-05/0.01596, allocations: 71.33 kB / 354.7 MB, free: 2.492 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.511e-05/0.01601, allocations: 12.48 kB / 354.7 MB, free: 2.48 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.01606, allocations: 12.5 kB / 354.7 MB, free: 2.465 MB / 282.7 MB Notification: Performance of SimCode: time 1.262e-06/0.01606, allocations: 0 / 354.7 MB, free: 2.465 MB / 282.7 MB Notification: Performance of Templates: time 0.003559/0.01962, allocations: 1.643 MB / 356.3 MB, free: 0.8398 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.5337261338718235]