Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.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.0009061/0.0009061, 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.001004/0.001004, allocations: 165 kB / 23.8 MB, free: 0.7734 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.9078/0.9078, allocations: 158.6 MB / 185.7 MB, free: 2.895 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.1315/0.1315, allocations: 32.36 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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.298e-05, allocations: 6.25 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002118/0.002141, allocations: 1.605 MB / 349.3 MB, free: 7.828 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000608/0.002749, allocations: 315.5 kB / 349.6 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.242e-05/0.002812, allocations: 0 / 349.6 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.003121, allocations: 99.67 kB / 349.7 MB, free: 7.418 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001924/0.003313, allocations: 75.66 kB / 349.8 MB, free: 7.344 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.003553, allocations: 63.84 kB / 349.8 MB, free: 7.281 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.003736, allocations: 75.75 kB / 349.9 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.003846, allocations: 8 kB / 349.9 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.254e-05/0.003909, allocations: 43.89 kB / 349.9 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.705e-05/0.003996, allocations: 47.88 kB / 350 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.004013, allocations: 0 / 350 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.046e-05/0.004084, allocations: 31.92 kB / 350 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.684e-05/0.00413, allocations: 27.91 kB / 350.1 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.506e-05/0.004155, allocations: 7.938 kB / 350.1 MB, free: 7.043 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.004299, allocations: 75.75 kB / 350.1 MB, free: 6.969 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.594e-06/0.004302, allocations: 4 kB / 350.1 MB, free: 6.965 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.004303, allocations: 0 / 350.1 MB, free: 6.965 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.004307, allocations: 0 / 350.1 MB, free: 6.965 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003507/0.004658, allocations: 435.9 kB / 350.6 MB, free: 6.504 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.004696, allocations: 12.03 kB / 350.6 MB, free: 6.492 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.004735, allocations: 16.78 kB / 350.6 MB, free: 6.477 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.004851, allocations: 141.8 kB / 350.7 MB, free: 6.312 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.004862, allocations: 4.375 kB / 350.7 MB, free: 6.309 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.00489, allocations: 384 / 350.7 MB, free: 6.309 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.005008, allocations: 54.95 kB / 350.8 MB, free: 6.246 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.005016, allocations: 4.188 kB / 350.8 MB, free: 6.242 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.005024, allocations: 4.125 kB / 350.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.433e-06/0.005031, allocations: 0 / 350.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.904e-05/0.00506, allocations: 15.94 kB / 350.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002352/0.005295, allocations: 287.7 kB / 351.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.005453, allocations: 39.06 kB / 351.1 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.071e-05/0.005473, allocations: 11.78 kB / 351.1 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.005495, allocations: 11.92 kB / 351.2 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/0.005511, allocations: 37.33 kB / 351.2 MB, free: 5.781 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.005512, allocations: 0 / 351.2 MB, free: 5.781 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003156/0.005828, allocations: 101.4 kB / 351.3 MB, free: 5.676 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.891e-05/0.005847, allocations: 55.41 kB / 351.3 MB, free: 5.609 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.005949, allocations: 238.6 kB / 351.6 MB, free: 5.359 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.63e-06/0.005955, allocations: 25.7 kB / 351.6 MB, free: 5.328 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.779e-05/0.005992, allocations: 150.9 kB / 351.7 MB, free: 5.176 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.006011, allocations: 31.77 kB / 351.8 MB, free: 5.145 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.397e-05/0.006035, allocations: 19.38 kB / 351.8 MB, free: 5.117 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.1e-05/0.006086, allocations: 0.4962 MB / 352.3 MB, free: 4.609 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.607e-05/0.006102, allocations: 4 kB / 352.3 MB, free: 4.605 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.257e-05/0.006115, allocations: 8 kB / 352.3 MB, free: 4.598 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.184e-05/0.006147, allocations: 31.86 kB / 352.3 MB, free: 4.562 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.006148, allocations: 0 / 352.3 MB, free: 4.562 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.385e-05/0.006212, allocations: 61.53 kB / 352.4 MB, free: 4.496 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.006225, allocations: 8 kB / 352.4 MB, free: 4.488 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.00623, allocations: 0 / 352.4 MB, free: 4.488 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.006249, allocations: 0 / 352.4 MB, free: 4.488 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.261e-05/0.006291, allocations: 11.98 kB / 352.4 MB, free: 4.477 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.006297, allocations: 0 / 352.4 MB, free: 4.477 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.242e-05/0.00632, allocations: 4 kB / 352.4 MB, free: 4.473 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.006325, allocations: 7.938 kB / 352.4 MB, free: 4.465 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.244e-05/0.006378, allocations: 160.6 kB / 352.6 MB, free: 4.297 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.006397, allocations: 19.83 kB / 352.6 MB, free: 4.277 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.006501, allocations: 70.78 kB / 352.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.006503, allocations: 288 / 352.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.006507, allocations: 0 / 352.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.00651, allocations: 0 / 352.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.006698, allocations: 329.4 kB / 353 MB, free: 3.836 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.006699, allocations: 3.984 kB / 353 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.354e-05/0.006722, allocations: 11.98 kB / 353 MB, free: 3.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.006724, allocations: 0 / 353 MB, free: 3.82 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.006731, allocations: 7.938 kB / 353 MB, free: 3.812 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.006732, allocations: 4 kB / 353 MB, free: 3.809 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.006734, allocations: 192 / 353 MB, free: 3.809 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.929e-05/0.006813, allocations: 219.8 kB / 353.2 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.256e-06/0.006821, allocations: 3.953 kB / 353.2 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.006833, allocations: 4 kB / 353.2 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.879e-05/0.006862, allocations: 4 kB / 353.3 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.006899, allocations: 7.984 kB / 353.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.006902, allocations: 0 / 353.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.245e-05/0.006954, allocations: 172.2 kB / 353.4 MB, free: 3.387 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006954, allocations: 0 / 353.4 MB, free: 3.387 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001605/0.007115, allocations: 23.98 kB / 353.4 MB, free: 3.363 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0007877/0.007903, allocations: 363 kB / 353.8 MB, free: 3.098 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001153/0.008018, allocations: 35.61 kB / 353.8 MB, free: 3.059 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.00802, allocations: 4 kB / 353.8 MB, free: 3.055 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.02e-05/0.00804, allocations: 23.67 kB / 353.9 MB, free: 3.027 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.008272, allocations: 17.19 kB / 353.9 MB, free: 3.012 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003227/0.008595, allocations: 210.6 kB / 354.1 MB, free: 2.777 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.591e-05/0.008631, allocations: 67.33 kB / 354.2 MB, free: 2.691 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.621e-05/0.008657, allocations: 11.92 kB / 354.2 MB, free: 2.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.071e-05/0.008688, allocations: 16.5 kB / 354.2 MB, free: 2.66 MB / 282.7 MB Notification: Performance of SimCode: time 7.92e-07/0.008688, allocations: 0 / 354.2 MB, free: 2.66 MB / 282.7 MB Notification: Performance of Templates: time 0.002836/0.01152, allocations: 1.171 MB / 355.4 MB, free: 1.5 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.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.240846324712038]