Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.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.0009623/0.0009623, allocations: 91.22 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.001143/0.001143, 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 0.9089/0.9089, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1232/0.1232, allocations: 32.38 MB / 270.4 MB, free: 14.69 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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.184e-05, allocations: 9.344 kB / 347.7 MB, free: 9.426 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.001971/0.001993, allocations: 1.599 MB / 349.3 MB, free: 7.82 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004274/0.00242, allocations: 315.4 kB / 349.6 MB, free: 7.508 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.167e-05/0.002472, allocations: 4 kB / 349.6 MB, free: 7.504 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002913/0.002763, allocations: 131.6 kB / 349.7 MB, free: 7.375 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001766/0.00294, allocations: 83.64 kB / 349.8 MB, free: 7.293 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.003111, allocations: 71.78 kB / 349.9 MB, free: 7.223 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.003245, allocations: 87.73 kB / 350 MB, free: 7.137 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.78e-05/0.003343, allocations: 8 kB / 350 MB, free: 7.129 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.914e-05/0.003402, allocations: 43.88 kB / 350 MB, free: 7.086 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.78e-05/0.0035, allocations: 91.83 kB / 350.1 MB, free: 6.996 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.003516, allocations: 0 / 350.1 MB, free: 6.996 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.894e-05/0.003575, allocations: 31.92 kB / 350.1 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.427e-05/0.003619, allocations: 27.92 kB / 350.2 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.00365, allocations: 11.92 kB / 350.2 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.003794, allocations: 87.61 kB / 350.3 MB, free: 6.84 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.003796, allocations: 0 / 350.3 MB, free: 6.84 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.003797, allocations: 0 / 350.3 MB, free: 6.84 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.003802, allocations: 0 / 350.3 MB, free: 6.84 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.0003488/0.004151, allocations: 451.9 kB / 350.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.004188, allocations: 12.03 kB / 350.7 MB, free: 6.352 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.004232, allocations: 12.84 kB / 350.7 MB, free: 6.34 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.004368, allocations: 160.2 kB / 350.9 MB, free: 6.156 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.004378, allocations: 384 / 350.9 MB, free: 6.156 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.004402, allocations: 4.375 kB / 350.9 MB, free: 6.152 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.004509, allocations: 50.95 kB / 350.9 MB, free: 6.094 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.004518, allocations: 8.125 kB / 350.9 MB, free: 6.086 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.004528, allocations: 4.125 kB / 350.9 MB, free: 6.082 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.004536, allocations: 0 / 350.9 MB, free: 6.082 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.881e-05/0.004565, allocations: 4 kB / 351 MB, free: 6.078 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002609/0.004826, allocations: 299.8 kB / 351.2 MB, free: 5.75 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.004994, allocations: 50.92 kB / 351.3 MB, free: 5.688 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.192e-05/0.005016, allocations: 11.69 kB / 351.3 MB, free: 5.672 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.005039, allocations: 3.938 kB / 351.3 MB, free: 5.668 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.005054, allocations: 33.39 kB / 351.3 MB, free: 5.625 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.005055, allocations: 0 / 351.3 MB, free: 5.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000309/0.005364, allocations: 109.5 kB / 351.4 MB, free: 5.512 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.694e-05/0.005381, allocations: 51.41 kB / 351.5 MB, free: 5.449 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.005491, allocations: 269.7 kB / 351.8 MB, free: 5.168 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.22e-06/0.005496, allocations: 29.7 kB / 351.8 MB, free: 5.133 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.081e-05/0.005537, allocations: 166.8 kB / 352 MB, free: 4.965 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.005553, allocations: 15.86 kB / 352 MB, free: 4.949 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.22e-05/0.005575, allocations: 23.38 kB / 352 MB, free: 4.918 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.333e-05/0.005618, allocations: 0.4962 MB / 352.5 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.407e-05/0.005632, allocations: 7.984 kB / 352.5 MB, free: 4.402 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.158e-05/0.005644, allocations: 4 kB / 352.5 MB, free: 4.398 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.838e-05/0.005672, allocations: 31.88 kB / 352.5 MB, free: 4.363 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.005673, allocations: 0 / 352.5 MB, free: 4.363 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.443e-05/0.005738, allocations: 69.47 kB / 352.6 MB, free: 4.289 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.005748, allocations: 4 kB / 352.6 MB, free: 4.285 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.005752, allocations: 4 kB / 352.6 MB, free: 4.281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.005768, allocations: 4 kB / 352.6 MB, free: 4.277 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.652e-05/0.005805, allocations: 8 kB / 352.6 MB, free: 4.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.005809, allocations: 0 / 352.6 MB, free: 4.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.68e-05/0.005826, allocations: 3.984 kB / 352.6 MB, free: 4.266 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.005831, allocations: 4 kB / 352.6 MB, free: 4.262 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 3.968e-05/0.005871, allocations: 156.6 kB / 352.8 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.005889, allocations: 15.89 kB / 352.8 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.907e-05/0.005978, allocations: 82.98 kB / 352.9 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.005979, allocations: 0 / 352.9 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.005983, allocations: 4 kB / 352.9 MB, free: 3.988 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.005987, allocations: 3.984 kB / 352.9 MB, free: 3.984 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.006155, allocations: 337.4 kB / 353.2 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.006156, allocations: 0 / 353.2 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.382e-05/0.006179, allocations: 15.92 kB / 353.2 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.006181, allocations: 4 kB / 353.2 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.006186, allocations: 4.125 kB / 353.2 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.006187, allocations: 4 kB / 353.2 MB, free: 3.586 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.006188, allocations: 0 / 353.2 MB, free: 3.586 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.599e-05/0.006254, allocations: 215.8 kB / 353.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-06/0.006262, allocations: 11.95 kB / 353.5 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.006272, allocations: 0 / 353.5 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.924e-05/0.006301, allocations: 0 / 353.5 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/0.006331, allocations: 11.98 kB / 353.5 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.006333, allocations: 0 / 353.5 MB, free: 3.332 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.742e-05/0.006391, allocations: 192.2 kB / 353.7 MB, free: 3.145 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006391, allocations: 0 / 353.7 MB, free: 3.145 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001534/0.006544, allocations: 15.94 kB / 353.7 MB, free: 3.129 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.000721/0.007265, allocations: 374.7 kB / 354 MB, free: 2.852 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.056e-05/0.007346, allocations: 27.69 kB / 354.1 MB, free: 2.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.007347, allocations: 0 / 354.1 MB, free: 2.82 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.785e-05/0.007365, allocations: 19.67 kB / 354.1 MB, free: 2.797 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.007569, allocations: 32.98 kB / 354.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002894/0.007858, allocations: 226.8 kB / 354.3 MB, free: 2.516 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.907e-05/0.007888, allocations: 67.33 kB / 354.4 MB, free: 2.43 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.304e-05/0.007911, allocations: 11.98 kB / 354.4 MB, free: 2.418 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.422e-05/0.007935, allocations: 12.5 kB / 354.4 MB, free: 2.406 MB / 282.7 MB Notification: Performance of SimCode: time 7.42e-07/0.007936, allocations: 0 / 354.4 MB, free: 2.406 MB / 282.7 MB Notification: Performance of Templates: time 0.002624/0.01056, allocations: 1.172 MB / 355.6 MB, free: 1.242 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.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.1734204348176718]