Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.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.00124/0.00124, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001335/0.001335, allocations: 169 kB / 24.24 MB, free: 316 kB / 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.096/1.096, allocations: 158.6 MB / 186 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.1639/0.1639, allocations: 32.37 MB / 270.7 MB, free: 14.78 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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 7.938 kB / 347.7 MB, free: 9.785 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.422e-05, allocations: 6.25 kB / 347.7 MB, free: 9.777 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.001938/0.001962, allocations: 1.602 MB / 349.3 MB, free: 8.172 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004618/0.002424, allocations: 315.5 kB / 349.6 MB, free: 7.859 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.034e-05/0.002474, allocations: 0 / 349.6 MB, free: 7.859 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000242/0.002716, allocations: 103.7 kB / 349.7 MB, free: 7.758 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.002871, allocations: 83.66 kB / 349.8 MB, free: 7.676 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.003036, allocations: 71.77 kB / 349.8 MB, free: 7.605 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000117/0.003153, allocations: 79.81 kB / 349.9 MB, free: 7.527 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.643e-05/0.00324, allocations: 7.984 kB / 349.9 MB, free: 7.52 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.447e-05/0.003294, allocations: 47.83 kB / 350 MB, free: 7.473 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.004e-05/0.003374, allocations: 63.86 kB / 350 MB, free: 7.41 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.003388, allocations: 4 kB / 350 MB, free: 7.406 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.029e-05/0.003448, allocations: 31.92 kB / 350.1 MB, free: 7.375 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.072e-05/0.003489, allocations: 23.91 kB / 350.1 MB, free: 7.352 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.612e-05/0.003515, allocations: 15.94 kB / 350.1 MB, free: 7.336 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.003637, allocations: 67.75 kB / 350.2 MB, free: 7.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.003639, allocations: 4 kB / 350.2 MB, free: 7.266 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.00364, allocations: 0 / 350.2 MB, free: 7.266 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.003644, allocations: 0 / 350.2 MB, free: 7.266 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.0002889/0.003933, allocations: 455.8 kB / 350.6 MB, free: 6.785 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.003965, allocations: 8.031 kB / 350.6 MB, free: 6.777 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/0.003998, allocations: 12.88 kB / 350.6 MB, free: 6.766 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.821e-05/0.004097, allocations: 148.3 kB / 350.8 MB, free: 6.594 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.144e-06/0.004104, allocations: 384 / 350.8 MB, free: 6.594 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.004127, allocations: 384 / 350.8 MB, free: 6.594 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.729e-05/0.004214, allocations: 54.95 kB / 350.8 MB, free: 6.531 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.004222, allocations: 192 / 350.8 MB, free: 6.531 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.00423, allocations: 12.12 kB / 350.9 MB, free: 6.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.004235, allocations: 0 / 350.9 MB, free: 6.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.666e-05/0.004262, allocations: 11.92 kB / 350.9 MB, free: 6.508 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002/0.004462, allocations: 283.8 kB / 351.1 MB, free: 6.195 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.004585, allocations: 43.05 kB / 351.2 MB, free: 6.141 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.738e-05/0.004602, allocations: 11.69 kB / 351.2 MB, free: 6.125 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.004617, allocations: 3.938 kB / 351.2 MB, free: 6.121 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.376e-05/0.004631, allocations: 41.33 kB / 351.2 MB, free: 6.07 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.004632, allocations: 0 / 351.2 MB, free: 6.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002694/0.004901, allocations: 113.5 kB / 351.4 MB, free: 5.953 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.656e-05/0.004918, allocations: 51.41 kB / 351.4 MB, free: 5.891 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.813e-05/0.005016, allocations: 253.9 kB / 351.7 MB, free: 5.625 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.318e-06/0.00502, allocations: 25.7 kB / 351.7 MB, free: 5.594 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.527e-05/0.005055, allocations: 158.8 kB / 351.8 MB, free: 5.434 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.005078, allocations: 15.84 kB / 351.8 MB, free: 5.418 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.757e-05/0.005106, allocations: 27.36 kB / 351.9 MB, free: 5.383 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.42e-05/0.00515, allocations: 0.5001 MB / 352.4 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.358e-05/0.005163, allocations: 4 kB / 352.4 MB, free: 4.867 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.195e-05/0.005175, allocations: 7.938 kB / 352.4 MB, free: 4.859 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.827e-05/0.005204, allocations: 27.86 kB / 352.4 MB, free: 4.828 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.005204, allocations: 4 kB / 352.4 MB, free: 4.824 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.945e-05/0.005264, allocations: 69.48 kB / 352.5 MB, free: 4.75 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.005275, allocations: 8 kB / 352.5 MB, free: 4.742 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.005279, allocations: 288 / 352.5 MB, free: 4.742 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.005289, allocations: 0 / 352.5 MB, free: 4.742 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.739e-05/0.005326, allocations: 11.98 kB / 352.5 MB, free: 4.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.00533, allocations: 0 / 352.5 MB, free: 4.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.62e-05/0.005346, allocations: 4 kB / 352.5 MB, free: 4.727 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-06/0.00535, allocations: 0 / 352.5 MB, free: 4.727 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.744e-05/0.005387, allocations: 156.6 kB / 352.7 MB, free: 4.562 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.005405, allocations: 23.88 kB / 352.7 MB, free: 4.539 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.506e-05/0.00549, allocations: 70.77 kB / 352.8 MB, free: 4.461 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.005492, allocations: 0 / 352.8 MB, free: 4.461 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.005494, allocations: 0 / 352.8 MB, free: 4.461 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.005498, allocations: 0 / 352.8 MB, free: 4.461 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.005662, allocations: 341.4 kB / 353.1 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.005664, allocations: 0 / 353.1 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.394e-05/0.005687, allocations: 11.98 kB / 353.1 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.005689, allocations: 0 / 353.1 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.005694, allocations: 0 / 353.1 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.005695, allocations: 0 / 353.1 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.005696, allocations: 12.12 kB / 353.1 MB, free: 4.062 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.454e-05/0.00576, allocations: 211.8 kB / 353.3 MB, free: 3.836 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-06/0.005768, allocations: 11.91 kB / 353.3 MB, free: 3.824 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.005778, allocations: 0 / 353.3 MB, free: 3.824 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.21e-05/0.00581, allocations: 7.984 kB / 353.3 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.005838, allocations: 4 kB / 353.3 MB, free: 3.812 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.005841, allocations: 4 kB / 353.3 MB, free: 3.809 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.107e-05/0.005892, allocations: 179.1 kB / 353.5 MB, free: 3.633 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005892, allocations: 0 / 353.5 MB, free: 3.633 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001574/0.00605, allocations: 19.94 kB / 353.5 MB, free: 3.613 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.0007403/0.00679, allocations: 368.7 kB / 353.9 MB, free: 3.34 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.22e-05/0.006872, allocations: 31.62 kB / 353.9 MB, free: 3.305 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.006874, allocations: 4 kB / 353.9 MB, free: 3.301 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.802e-05/0.006892, allocations: 27.67 kB / 354 MB, free: 3.27 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.007101, allocations: 25.11 kB / 354 MB, free: 3.246 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002832/0.007385, allocations: 210.6 kB / 354.2 MB, free: 3.008 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.888e-05/0.007414, allocations: 71.28 kB / 354.3 MB, free: 2.918 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.546e-05/0.007439, allocations: 15.97 kB / 354.3 MB, free: 2.902 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.395e-05/0.007463, allocations: 12.5 kB / 354.3 MB, free: 2.891 MB / 282.7 MB Notification: Performance of SimCode: time 6.32e-07/0.007464, allocations: 0 / 354.3 MB, free: 2.891 MB / 282.7 MB Notification: Performance of Templates: time 0.002664/0.01013, allocations: 1.173 MB / 355.5 MB, free: 1.727 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.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.310440960107371]