Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.0007736/0.0007736, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00155/0.002323, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007398/0.0007398, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001096/0.001836, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9875/0.9875, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09115/1.079, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2691/0.2691, allocations: 34.25 MB / 278.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02676/0.2959, allocations: 13.1 MB / 291.3 MB, free: 7.375 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 292.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.098e-05/3.295e-05, allocations: 5.328 kB / 292.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003477/0.00351, allocations: 1.675 MB / 294.3 MB, free: 4.598 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.00466, allocations: 0.5336 MB / 294.9 MB, free: 4.059 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.246e-05/0.004743, allocations: 4 kB / 294.9 MB, free: 4.055 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002158/0.004959, allocations: 35.7 kB / 294.9 MB, free: 4.02 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000251/0.00521, allocations: 67.64 kB / 295 MB, free: 3.953 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.005508, allocations: 95.62 kB / 295.1 MB, free: 3.859 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.005696, allocations: 71.7 kB / 295.1 MB, free: 3.789 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.763e-05/0.005794, allocations: 11.98 kB / 295.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.005924, allocations: 48.41 kB / 295.2 MB, free: 3.73 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.471e-05/0.005999, allocations: 23.91 kB / 295.2 MB, free: 3.707 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.006015, allocations: 0 / 295.2 MB, free: 3.707 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.365e-05/0.006109, allocations: 35.92 kB / 295.2 MB, free: 3.672 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.42e-05/0.006153, allocations: 7.938 kB / 295.2 MB, free: 3.664 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.722e-05/0.00619, allocations: 11.94 kB / 295.3 MB, free: 3.652 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.006369, allocations: 67.75 kB / 295.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.952e-05/0.006389, allocations: 0 / 295.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.00639, allocations: 0 / 295.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.975e-05/0.00641, allocations: 0 / 295.3 MB, free: 3.586 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.0004942/0.006904, allocations: 289.4 kB / 295.6 MB, free: 3.281 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.006943, allocations: 12.03 kB / 295.6 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.871e-05/0.006982, allocations: 4.922 kB / 295.6 MB, free: 3.266 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.007158, allocations: 141.6 kB / 295.8 MB, free: 3.102 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-06/0.007167, allocations: 384 / 295.8 MB, free: 3.102 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.007186, allocations: 384 / 295.8 MB, free: 3.102 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.007307, allocations: 54.95 kB / 295.8 MB, free: 3.039 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.007318, allocations: 8.172 kB / 295.8 MB, free: 3.031 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.007327, allocations: 4.125 kB / 295.8 MB, free: 3.027 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.007333, allocations: 0 / 295.8 MB, free: 3.027 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.591e-05/0.007369, allocations: 15.86 kB / 295.8 MB, free: 3.012 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002665/0.007635, allocations: 159.1 kB / 296 MB, free: 2.84 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.007805, allocations: 30.62 kB / 296 MB, free: 2.801 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.066e-05/0.007826, allocations: 8.859 kB / 296 MB, free: 2.789 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.007843, allocations: 0 / 296 MB, free: 2.789 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.007871, allocations: 38.56 kB / 296.1 MB, free: 2.742 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 3.967e-06/0.007875, allocations: 4 kB / 296.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003433/0.008218, allocations: 81.58 kB / 296.2 MB, free: 2.652 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.008256, allocations: 55.34 kB / 296.2 MB, free: 2.586 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.008373, allocations: 152.2 kB / 296.4 MB, free: 2.422 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.008388, allocations: 25.7 kB / 296.4 MB, free: 2.391 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/0.008427, allocations: 92.11 kB / 296.5 MB, free: 2.297 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.008457, allocations: 15.84 kB / 296.5 MB, free: 2.281 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/0.00849, allocations: 17.72 kB / 296.5 MB, free: 2.258 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.898e-05/0.008589, allocations: 322.8 kB / 296.8 MB, free: 1.934 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.609e-05/0.008606, allocations: 4 kB / 296.8 MB, free: 1.93 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.441e-05/0.00862, allocations: 4 kB / 296.8 MB, free: 1.926 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.795e-05/0.008658, allocations: 20.84 kB / 296.9 MB, free: 1.902 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.008659, allocations: 0 / 296.9 MB, free: 1.902 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000347/0.009006, allocations: 61.55 kB / 296.9 MB, free: 1.836 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.009028, allocations: 4 kB / 296.9 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.403e-06/0.009034, allocations: 0 / 296.9 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.009046, allocations: 0 / 296.9 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.427e-05/0.00914, allocations: 12 kB / 296.9 MB, free: 1.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.009143, allocations: 0 / 296.9 MB, free: 1.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.197e-05/0.009175, allocations: 3.984 kB / 296.9 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.009183, allocations: 4 kB / 296.9 MB, free: 1.812 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 6.552e-05/0.009248, allocations: 112.7 kB / 297 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.009273, allocations: 11.94 kB / 297.1 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.009399, allocations: 54.14 kB / 297.1 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.009401, allocations: 0 / 297.1 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.009403, allocations: 7.938 kB / 297.1 MB, free: 1.613 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.009406, allocations: 0 / 297.1 MB, free: 1.613 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.009612, allocations: 215.1 kB / 297.3 MB, free: 1.379 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.009614, allocations: 3.938 kB / 297.3 MB, free: 1.375 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.558e-05/0.00965, allocations: 15.92 kB / 297.3 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.949e-06/0.00966, allocations: 7.953 kB / 297.4 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.009662, allocations: 4 kB / 297.4 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-06/0.009666, allocations: 0 / 297.4 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.009667, allocations: 0 / 297.4 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.00967, allocations: 7.984 kB / 297.4 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.017e-05/0.00974, allocations: 147.4 kB / 297.5 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-06/0.00975, allocations: 3.984 kB / 297.5 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.745e-05/0.009778, allocations: 0 / 297.5 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.089e-05/0.009799, allocations: 8 kB / 297.5 MB, free: 1.168 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.009801, allocations: 0 / 297.5 MB, free: 1.168 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.493e-05/0.009836, allocations: 37.88 kB / 297.6 MB, free: 1.129 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.009836, allocations: 0 / 297.6 MB, free: 1.129 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001235/0.009959, allocations: 19.94 kB / 297.6 MB, free: 1.109 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.001178/0.01114, allocations: 0.5432 MB / 298.1 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.938e-05/0.01121, allocations: 24.8 kB / 298.1 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.01121, allocations: 3.984 kB / 298.2 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.522e-05/0.01123, allocations: 12.86 kB / 298.2 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/0.01139, allocations: 31.2 kB / 298.2 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005066/0.0119, allocations: 167.2 kB / 298.4 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.393e-05/0.01193, allocations: 63.34 kB / 298.4 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.538e-05/0.01196, allocations: 7.984 kB / 298.4 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.49e-05/0.012, allocations: 59.38 kB / 298.5 MB, free: 464 kB / 282.7 MB Notification: Performance of SimCode: time 4.11e-07/0.012, allocations: 0 / 298.5 MB, free: 464 kB / 282.7 MB Notification: Performance of Templates: time 0.002516/0.01452, allocations: 1.273 MB / 299.8 MB, free: 15.2 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.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: 2.9198506977409124]