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.0009891/0.0009891, allocations: 91.33 kB / 20.43 MB, free: 4.137 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.001039/0.001039, allocations: 169 kB / 23.8 MB, free: 0.7656 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 0.9541/0.9541, allocations: 158.6 MB / 185.6 MB, free: 2.926 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.1479/0.1479, 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.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.984e-06/1.984e-06, allocations: 0 / 347.7 MB, free: 9.363 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.74e-05, allocations: 10.19 kB / 347.8 MB, free: 9.352 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.00529/0.005317, allocations: 1.725 MB / 349.5 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009046/0.006222, allocations: 0.7959 MB / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.21e-05/0.006284, allocations: 0 / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002729/0.006557, allocations: 43.7 kB / 350.3 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.006745, allocations: 47.77 kB / 350.4 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.006938, allocations: 87.7 kB / 350.5 MB, free: 6.637 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.00707, allocations: 103.6 kB / 350.6 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.031e-05/0.00715, allocations: 8.219 kB / 350.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.177e-05/0.007222, allocations: 47.84 kB / 350.6 MB, free: 6.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.354e-05/0.007285, allocations: 31.89 kB / 350.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.007302, allocations: 4 kB / 350.6 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.634e-05/0.007378, allocations: 43.92 kB / 350.7 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.448e-05/0.007423, allocations: 15.92 kB / 350.7 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.007458, allocations: 15.94 kB / 350.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.007613, allocations: 95.59 kB / 350.8 MB, free: 6.277 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.007615, allocations: 4 kB / 350.8 MB, free: 6.273 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.007616, allocations: 4 kB / 350.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.00762, allocations: 0 / 350.8 MB, free: 6.27 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.003404/0.01102, allocations: 428 kB / 351.2 MB, free: 5.816 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.01107, allocations: 12.03 kB / 351.2 MB, free: 5.805 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.5e-05/0.01113, allocations: 12.89 kB / 351.3 MB, free: 5.793 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.01128, allocations: 145 kB / 351.4 MB, free: 5.625 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.0113, allocations: 4.375 kB / 351.4 MB, free: 5.621 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.01133, allocations: 4.312 kB / 351.4 MB, free: 5.617 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.01144, allocations: 66.31 kB / 351.5 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.01145, allocations: 4 kB / 351.5 MB, free: 5.539 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.01146, allocations: 0 / 351.5 MB, free: 5.539 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.01147, allocations: 4 kB / 351.5 MB, free: 5.535 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.505e-05/0.01151, allocations: 11.98 kB / 351.5 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002573/0.01176, allocations: 279.7 kB / 351.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.761e-05/0.01186, allocations: 55.11 kB / 351.8 MB, free: 5.148 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3e-05/0.01189, allocations: 19.67 kB / 351.8 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.01191, allocations: 4 kB / 351.8 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.996e-05/0.012, allocations: 65.05 kB / 351.9 MB, free: 5.043 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.163e-06/0.012, allocations: 4 kB / 351.9 MB, free: 5.039 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003704/0.01237, allocations: 149.3 kB / 352.1 MB, free: 4.887 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/0.01239, allocations: 59.39 kB / 352.1 MB, free: 4.816 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.198e-05/0.01248, allocations: 209.8 kB / 352.3 MB, free: 4.594 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.01249, allocations: 29.7 kB / 352.4 MB, free: 4.559 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.263e-05/0.01252, allocations: 146.9 kB / 352.5 MB, free: 4.41 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.01255, allocations: 27.78 kB / 352.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.01258, allocations: 31.38 kB / 352.6 MB, free: 4.344 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.957e-05/0.01262, allocations: 0.4961 MB / 353 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.559e-05/0.01265, allocations: 12.38 kB / 353.1 MB, free: 3.824 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.349e-05/0.01268, allocations: 35.36 kB / 353.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.448e-05/0.01274, allocations: 51.36 kB / 353.1 MB, free: 3.723 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.01274, allocations: 4 kB / 353.1 MB, free: 3.719 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001089/0.01285, allocations: 85.66 kB / 353.2 MB, free: 3.629 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.01286, allocations: 8 kB / 353.2 MB, free: 3.621 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.01286, allocations: 4.016 kB / 353.2 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.01288, allocations: 0 / 353.2 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.256e-05/0.01295, allocations: 15.98 kB / 353.3 MB, free: 3.602 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.01296, allocations: 11.95 kB / 353.3 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.01e-05/0.01299, allocations: 7.938 kB / 353.3 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.01299, allocations: 4 kB / 353.3 MB, free: 3.578 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.859e-05/0.01304, allocations: 160.6 kB / 353.4 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/0.01306, allocations: 15.91 kB / 353.5 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/0.0132, allocations: 102.4 kB / 353.6 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.0132, allocations: 0 / 353.6 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.01321, allocations: 0 / 353.6 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01321, allocations: 3.984 kB / 353.6 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.01344, allocations: 389 kB / 353.9 MB, free: 2.859 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.01345, allocations: 4.031 kB / 353.9 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.921e-05/0.01347, allocations: 11.98 kB / 354 MB, free: 2.844 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003006/0.01648, allocations: 0 / 354 MB, free: 2.844 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.01649, allocations: 4 kB / 354 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.01649, allocations: 3.938 kB / 354 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01649, allocations: 0 / 354 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.01662, allocations: 259.5 kB / 354.2 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.134e-05/0.01663, allocations: 7.953 kB / 354.2 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.01664, allocations: 0 / 354.2 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.727e-05/0.0167, allocations: 11.92 kB / 354.2 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.01673, allocations: 12 kB / 354.2 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.01675, allocations: 3.984 kB / 354.3 MB, free: 2.523 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.628e-05/0.01679, allocations: 155.2 kB / 354.4 MB, free: 2.371 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01679, allocations: 3.938 kB / 354.4 MB, free: 2.367 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002419/0.01703, allocations: 23.92 kB / 354.4 MB, free: 2.344 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.000983/0.01802, allocations: 433.8 kB / 354.9 MB, free: 2.012 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001194/0.01814, allocations: 63.45 kB / 354.9 MB, free: 1.945 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.01814, allocations: 0 / 354.9 MB, free: 1.945 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.036e-05/0.01818, allocations: 31.91 kB / 354.9 MB, free: 1.91 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.01847, allocations: 39.97 kB / 355 MB, free: 1.871 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000318/0.01879, allocations: 208.9 kB / 355.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.22e-05/0.01882, allocations: 63.34 kB / 355.3 MB, free: 1.555 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.331e-05/0.01886, allocations: 12.48 kB / 355.3 MB, free: 1.543 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.304e-05/0.01889, allocations: 20.5 kB / 355.3 MB, free: 1.52 MB / 282.7 MB Notification: Performance of SimCode: time 4.9e-07/0.01889, allocations: 64 / 355.3 MB, free: 1.52 MB / 282.7 MB Notification: Performance of Templates: time 0.009942/0.02883, allocations: 1.843 MB / 357.1 MB, free: 15.7 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.379203067161143]