Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.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.001135/0.001135, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001246/0.001246, allocations: 165 kB / 23.79 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 0.8599/0.8599, 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.1271/0.1271, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 347.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.608e-05/2.759e-05, allocations: 10.19 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002153/0.002181, allocations: 1.598 MB / 349.3 MB, free: 7.836 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004367/0.002617, allocations: 323.4 kB / 349.6 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.447e-05/0.002672, allocations: 0 / 349.6 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002389/0.002911, allocations: 19.86 kB / 349.6 MB, free: 7.496 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001688/0.00308, allocations: 47.7 kB / 349.7 MB, free: 7.449 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.003257, allocations: 67.78 kB / 349.7 MB, free: 7.383 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.003408, allocations: 63.77 kB / 349.8 MB, free: 7.32 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.003524, allocations: 4 kB / 349.8 MB, free: 7.316 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.278e-05/0.003587, allocations: 27.91 kB / 349.8 MB, free: 7.289 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.762e-05/0.003644, allocations: 19.98 kB / 349.8 MB, free: 7.27 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.00366, allocations: 3.938 kB / 349.8 MB, free: 7.266 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.156e-05/0.003722, allocations: 27.98 kB / 349.9 MB, free: 7.238 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.878e-05/0.003791, allocations: 11.98 kB / 349.9 MB, free: 7.227 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.118e-05/0.003822, allocations: 7.938 kB / 349.9 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.003998, allocations: 71.73 kB / 350 MB, free: 7.148 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.004001, allocations: 0 / 350 MB, free: 7.148 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.004002, allocations: 0 / 350 MB, free: 7.148 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.004007, allocations: 0 / 350 MB, free: 7.148 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.000359/0.004366, allocations: 404.2 kB / 350.4 MB, free: 6.719 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.0044, allocations: 19.95 kB / 350.4 MB, free: 6.699 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.004441, allocations: 12.89 kB / 350.4 MB, free: 6.688 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.977e-05/0.00454, allocations: 136.4 kB / 350.5 MB, free: 6.527 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.004549, allocations: 4.375 kB / 350.5 MB, free: 6.523 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.004572, allocations: 4.375 kB / 350.5 MB, free: 6.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.603e-05/0.004668, allocations: 50.95 kB / 350.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.004676, allocations: 4.188 kB / 350.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.004688, allocations: 4.125 kB / 350.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.004696, allocations: 0 / 350.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.778e-05/0.004723, allocations: 11.92 kB / 350.6 MB, free: 6.441 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002168/0.00494, allocations: 267.9 kB / 350.9 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.005082, allocations: 43.05 kB / 350.9 MB, free: 6.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.811e-05/0.0051, allocations: 11.69 kB / 350.9 MB, free: 6.074 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.00512, allocations: 7.938 kB / 350.9 MB, free: 6.066 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.338e-05/0.005134, allocations: 37.33 kB / 351 MB, free: 6.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.005135, allocations: 0 / 351 MB, free: 6.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002982/0.005433, allocations: 97.5 kB / 351 MB, free: 5.918 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.806e-05/0.005451, allocations: 55.39 kB / 351.1 MB, free: 5.852 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.755e-05/0.005528, allocations: 196.2 kB / 351.3 MB, free: 5.645 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.48e-06/0.005534, allocations: 29.7 kB / 351.3 MB, free: 5.609 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.005e-05/0.005564, allocations: 150.8 kB / 351.5 MB, free: 5.457 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.005581, allocations: 15.88 kB / 351.5 MB, free: 5.441 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-05/0.005604, allocations: 23.38 kB / 351.5 MB, free: 5.41 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.494e-05/0.005649, allocations: 0.4923 MB / 352 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.442e-05/0.005663, allocations: 4 kB / 352 MB, free: 4.902 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.179e-05/0.005675, allocations: 4 kB / 352 MB, free: 4.898 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.869e-05/0.005704, allocations: 23.88 kB / 352 MB, free: 4.871 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.005704, allocations: 0 / 352 MB, free: 4.871 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.962e-05/0.005764, allocations: 69.52 kB / 352.1 MB, free: 4.797 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.005776, allocations: 4 kB / 352.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.005781, allocations: 0 / 352.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.005798, allocations: 8 kB / 352.1 MB, free: 4.785 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.042e-05/0.005839, allocations: 11.98 kB / 352.1 MB, free: 4.773 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.005844, allocations: 0 / 352.1 MB, free: 4.773 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.502e-05/0.005859, allocations: 3.938 kB / 352.1 MB, free: 4.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.005865, allocations: 4 kB / 352.1 MB, free: 4.766 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 4.074e-05/0.005905, allocations: 156.6 kB / 352.3 MB, free: 4.602 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/0.005922, allocations: 11.89 kB / 352.3 MB, free: 4.59 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.799e-05/0.00602, allocations: 70.08 kB / 352.4 MB, free: 4.516 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.006022, allocations: 0 / 352.4 MB, free: 4.516 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.006025, allocations: 0 / 352.4 MB, free: 4.516 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.006029, allocations: 4.281 kB / 352.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.006203, allocations: 317.4 kB / 352.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.006205, allocations: 3.984 kB / 352.7 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.403e-05/0.006229, allocations: 8 kB / 352.7 MB, free: 4.148 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.006231, allocations: 3.984 kB / 352.7 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.006238, allocations: 3.938 kB / 352.7 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.006239, allocations: 0 / 352.7 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.00624, allocations: 192 / 352.7 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.495e-05/0.006315, allocations: 215.8 kB / 352.9 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-06/0.006321, allocations: 3.953 kB / 352.9 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.006334, allocations: 12 kB / 352.9 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.847e-05/0.006362, allocations: 3.984 kB / 352.9 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.006397, allocations: 4 kB / 352.9 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.006399, allocations: 0 / 352.9 MB, free: 3.887 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.236e-05/0.006442, allocations: 149.7 kB / 353.1 MB, free: 3.742 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006442, allocations: 0 / 353.1 MB, free: 3.742 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001753/0.006617, allocations: 19.94 kB / 353.1 MB, free: 3.723 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.0007424/0.00736, allocations: 371.1 kB / 353.5 MB, free: 3.449 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.208e-05/0.007452, allocations: 31.61 kB / 353.5 MB, free: 3.414 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.007454, allocations: 4 kB / 353.5 MB, free: 3.41 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.937e-05/0.007473, allocations: 19.69 kB / 353.5 MB, free: 3.387 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.007683, allocations: 19.92 kB / 353.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002727/0.007956, allocations: 173.8 kB / 353.7 MB, free: 3.168 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.585e-05/0.007982, allocations: 59.34 kB / 353.8 MB, free: 3.09 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.398e-05/0.008006, allocations: 11.98 kB / 353.8 MB, free: 3.078 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.497e-05/0.008031, allocations: 16.48 kB / 353.8 MB, free: 3.062 MB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.008032, allocations: 0 / 353.8 MB, free: 3.062 MB / 282.7 MB Notification: Performance of Templates: time 0.002801/0.01083, allocations: 1.144 MB / 354.9 MB, free: 1.93 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.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.0788970990106463]