Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.001421/0.001421, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.001635/0.001635, allocations: 165 kB / 23.8 MB, free: 0.7773 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.03/1.03, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.151/0.151, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.91e-07/7.91e-07, allocations: 0 / 347.7 MB, free: 9.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.129e-05/1.208e-05, allocations: 2.312 kB / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.001594/0.001606, allocations: 1.698 MB / 349.4 MB, free: 7.668 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008166/0.002423, allocations: 0.7726 MB / 350.2 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.189e-05/0.002465, allocations: 4 kB / 350.2 MB, free: 6.883 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000181/0.002646, allocations: 71.64 kB / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.002774, allocations: 71.62 kB / 350.4 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001241/0.002898, allocations: 75.77 kB / 350.4 MB, free: 6.668 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.711e-05/0.002995, allocations: 107.7 kB / 350.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.307e-05/0.003018, allocations: 7.938 kB / 350.5 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.745e-05/0.003075, allocations: 59.75 kB / 350.6 MB, free: 6.496 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.599e-05/0.003131, allocations: 39.91 kB / 350.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.003142, allocations: 0 / 350.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.735e-05/0.003189, allocations: 31.97 kB / 350.7 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.347e-05/0.003223, allocations: 19.92 kB / 350.7 MB, free: 6.406 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.276e-05/0.003245, allocations: 15.94 kB / 350.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.003346, allocations: 87.66 kB / 350.8 MB, free: 6.305 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.003348, allocations: 0 / 350.8 MB, free: 6.305 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.01e-07/0.003348, allocations: 4 kB / 350.8 MB, free: 6.301 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.445e-06/0.003351, allocations: 0 / 350.8 MB, free: 6.301 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.0002226/0.003573, allocations: 435.9 kB / 351.2 MB, free: 5.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.229e-05/0.003596, allocations: 8.031 kB / 351.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.488e-05/0.00362, allocations: 8.891 kB / 351.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.523e-05/0.003706, allocations: 148.4 kB / 351.4 MB, free: 5.652 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.003716, allocations: 4.375 kB / 351.4 MB, free: 5.648 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.593e-06/0.003722, allocations: 4.375 kB / 351.4 MB, free: 5.645 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.419e-05/0.003787, allocations: 54.94 kB / 351.5 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.438e-06/0.003791, allocations: 3.938 kB / 351.5 MB, free: 5.578 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-06/0.003797, allocations: 4 kB / 351.5 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.277e-06/0.0038, allocations: 0 / 351.5 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.322e-05/0.003823, allocations: 19.92 kB / 351.5 MB, free: 5.555 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.153e-05/0.003905, allocations: 136.6 kB / 351.6 MB, free: 5.387 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.434e-05/0.003979, allocations: 51.09 kB / 351.7 MB, free: 5.324 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.1e-05/0.004, allocations: 15.69 kB / 351.7 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.244e-06/0.004008, allocations: 4 kB / 351.7 MB, free: 5.301 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.003e-05/0.004068, allocations: 69 kB / 351.7 MB, free: 5.219 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 6.01e-07/0.004068, allocations: 4 kB / 351.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001164/0.004185, allocations: 85.5 kB / 351.8 MB, free: 5.125 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.482e-05/0.004199, allocations: 51.41 kB / 351.9 MB, free: 5.062 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.544e-05/0.004275, allocations: 224.1 kB / 352.1 MB, free: 4.828 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.063e-06/0.004282, allocations: 33.7 kB / 352.1 MB, free: 4.789 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.598e-05/0.004308, allocations: 142.9 kB / 352.3 MB, free: 4.645 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.004325, allocations: 15.89 kB / 352.3 MB, free: 4.629 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-05/0.004345, allocations: 23.38 kB / 352.3 MB, free: 4.598 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.603e-05/0.004391, allocations: 0.4962 MB / 352.8 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.351e-05/0.004405, allocations: 4 kB / 352.8 MB, free: 4.086 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.123e-05/0.004426, allocations: 35.36 kB / 352.9 MB, free: 4.043 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.263e-05/0.004459, allocations: 35.56 kB / 352.9 MB, free: 4 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.00446, allocations: 4 kB / 352.9 MB, free: 3.996 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.554e-05/0.004516, allocations: 73.58 kB / 353 MB, free: 3.918 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.915e-06/0.004524, allocations: 4 kB / 353 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.004527, allocations: 7.938 kB / 353 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.913e-06/0.004534, allocations: 0 / 353 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.919e-05/0.004573, allocations: 11.98 kB / 353 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.004576, allocations: 0 / 353 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.152e-05/0.004597, allocations: 12.03 kB / 353 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.436e-06/0.004601, allocations: 0 / 353 MB, free: 3.883 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 3.807e-05/0.004639, allocations: 156.6 kB / 353.1 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/0.004649, allocations: 19.84 kB / 353.2 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.51e-05/0.004735, allocations: 97.94 kB / 353.3 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.004736, allocations: 0 / 353.3 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.004737, allocations: 0 / 353.3 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.00474, allocations: 4 kB / 353.3 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.06e-05/0.004791, allocations: 132.6 kB / 353.4 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.004792, allocations: 0 / 353.4 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.165e-05/0.004804, allocations: 8 kB / 353.4 MB, free: 3.422 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.004805, allocations: 4 kB / 353.4 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.00481, allocations: 4 kB / 353.4 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.004812, allocations: 3.938 kB / 353.4 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.004812, allocations: 0 / 353.4 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.72e-05/0.00488, allocations: 120.3 kB / 353.5 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.267e-06/0.004889, allocations: 7.953 kB / 353.5 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.004901, allocations: 4.188 kB / 353.5 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.635e-05/0.004917, allocations: 7.938 kB / 353.6 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.001e-05/0.004937, allocations: 7.984 kB / 353.6 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.004944, allocations: 4 kB / 353.6 MB, free: 3.238 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.418e-05/0.004988, allocations: 164 kB / 353.7 MB, free: 3.078 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.004988, allocations: 0 / 353.7 MB, free: 3.078 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001277/0.005116, allocations: 23.98 kB / 353.7 MB, free: 3.055 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.0006635/0.005779, allocations: 392.3 kB / 354.1 MB, free: 2.758 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.145e-05/0.005851, allocations: 43.61 kB / 354.2 MB, free: 2.711 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.005852, allocations: 0 / 354.2 MB, free: 2.711 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.287e-05/0.005875, allocations: 19.69 kB / 354.2 MB, free: 2.688 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.006016, allocations: 25.22 kB / 354.2 MB, free: 2.664 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002105/0.006227, allocations: 189.3 kB / 354.4 MB, free: 2.453 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.123e-05/0.006248, allocations: 67.34 kB / 354.5 MB, free: 2.367 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.628e-05/0.006274, allocations: 16.55 kB / 354.5 MB, free: 2.352 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.278e-05/0.006297, allocations: 12.5 kB / 354.5 MB, free: 2.336 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.006298, allocations: 7.938 kB / 354.5 MB, free: 2.328 MB / 282.7 MB Notification: Performance of Templates: time 0.002552/0.00885, allocations: 1.73 MB / 356.2 MB, free: 0.6094 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.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.287473050877452]