Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006777/0.0006777, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009817/0.001659, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006439/0.0006439, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009284/0.001572, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8802/0.8802, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1667/1.047, allocations: 52.5 MB / 238.5 MB, free: 7.602 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1265/0.1265, allocations: 32.8 MB / 272 MB, free: 6.281 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02078/0.1473, allocations: 12.54 MB / 284.5 MB, free: 9.703 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 285.9 MB, free: 8.395 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.179e-05/1.298e-05, allocations: 10.31 kB / 285.9 MB, free: 8.383 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.00178/0.001793, allocations: 1.659 MB / 287.5 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005446/0.002338, allocations: 415 kB / 287.9 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.969e-05/0.002388, allocations: 7.938 kB / 287.9 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001308/0.002518, allocations: 23.8 kB / 288 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.002619, allocations: 43.72 kB / 288 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.002808, allocations: 91.64 kB / 288.1 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.002917, allocations: 55.84 kB / 288.1 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.982e-05/0.002987, allocations: 4 kB / 288.2 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.734e-05/0.003064, allocations: 51.83 kB / 288.2 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.596e-05/0.00311, allocations: 11.92 kB / 288.2 MB, free: 6.023 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.003123, allocations: 4 kB / 288.2 MB, free: 6.02 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.866e-05/0.003182, allocations: 31.94 kB / 288.2 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.362e-05/0.003215, allocations: 15.92 kB / 288.3 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.916e-05/0.003234, allocations: 7.938 kB / 288.3 MB, free: 5.965 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.003356, allocations: 71.7 kB / 288.3 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.728e-06/0.003366, allocations: 0 / 288.3 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003367, allocations: 0 / 288.3 MB, free: 5.895 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.003375, allocations: 0 / 288.3 MB, free: 5.895 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.0003234/0.003699, allocations: 292.2 kB / 288.6 MB, free: 5.586 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.752e-05/0.003726, allocations: 8.031 kB / 288.6 MB, free: 5.578 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.603e-05/0.003752, allocations: 12.86 kB / 288.6 MB, free: 5.566 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.003866, allocations: 129.6 kB / 288.8 MB, free: 5.414 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.093e-06/0.003873, allocations: 4.375 kB / 288.8 MB, free: 5.41 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.003894, allocations: 4.375 kB / 288.8 MB, free: 5.406 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.183e-05/0.003976, allocations: 54.95 kB / 288.8 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.984e-06/0.003982, allocations: 8.125 kB / 288.8 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.00399, allocations: 8.125 kB / 288.9 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.003994, allocations: 0 / 288.9 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.884e-05/0.004013, allocations: 7.984 kB / 288.9 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001679/0.004181, allocations: 155.1 kB / 289 MB, free: 5.152 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.004293, allocations: 30.56 kB / 289 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.362e-05/0.004307, allocations: 12.8 kB / 289.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.004319, allocations: 0 / 289.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.004337, allocations: 38.7 kB / 289.1 MB, free: 5.051 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 5.91e-07/0.004338, allocations: 4 kB / 289.1 MB, free: 5.047 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002194/0.004557, allocations: 81.53 kB / 289.2 MB, free: 4.961 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.004583, allocations: 51.41 kB / 289.2 MB, free: 4.898 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.224e-05/0.004666, allocations: 154.9 kB / 289.4 MB, free: 4.734 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.004674, allocations: 25.7 kB / 289.4 MB, free: 4.703 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.861e-05/0.004703, allocations: 96.02 kB / 289.5 MB, free: 4.605 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.004719, allocations: 15.89 kB / 289.5 MB, free: 4.59 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/0.004744, allocations: 17.72 kB / 289.5 MB, free: 4.566 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.631e-05/0.00482, allocations: 322.8 kB / 289.8 MB, free: 4.242 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.767e-06/0.004829, allocations: 4 kB / 289.8 MB, free: 4.238 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.905e-06/0.004837, allocations: 8 kB / 289.9 MB, free: 4.23 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.31e-05/0.00486, allocations: 16.84 kB / 289.9 MB, free: 4.211 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.004861, allocations: 0 / 289.9 MB, free: 4.211 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.889e-05/0.00491, allocations: 57.56 kB / 289.9 MB, free: 4.148 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.00492, allocations: 4 kB / 289.9 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.004924, allocations: 0 / 289.9 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.004934, allocations: 4 kB / 289.9 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.797e-05/0.004972, allocations: 11.98 kB / 289.9 MB, free: 4.129 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.004975, allocations: 0 / 289.9 MB, free: 4.129 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.437e-05/0.004989, allocations: 4 kB / 290 MB, free: 4.125 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-06/0.004993, allocations: 4.188 kB / 290 MB, free: 4.121 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.67e-05/0.005039, allocations: 112.7 kB / 290.1 MB, free: 4 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/0.005054, allocations: 11.94 kB / 290.1 MB, free: 3.988 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.367e-05/0.005128, allocations: 66.08 kB / 290.1 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.005129, allocations: 0 / 290.1 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.005131, allocations: 0 / 290.1 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.005133, allocations: 0 / 290.1 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.005295, allocations: 207.1 kB / 290.3 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.005297, allocations: 3.938 kB / 290.3 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.646e-05/0.005323, allocations: 19.92 kB / 290.4 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-06/0.00533, allocations: 3.953 kB / 290.4 MB, free: 3.664 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.005333, allocations: 7.984 kB / 290.4 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-06/0.005336, allocations: 4 kB / 290.4 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.005337, allocations: 0 / 290.4 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.005337, allocations: 0 / 290.4 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.176e-05/0.005399, allocations: 143.5 kB / 290.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.654e-06/0.005407, allocations: 0 / 290.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.908e-05/0.005436, allocations: 7.984 kB / 290.5 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.16e-05/0.005457, allocations: 4 kB / 290.5 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.005459, allocations: 0 / 290.5 MB, free: 3.484 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.964e-05/0.005489, allocations: 39.64 kB / 290.6 MB, free: 3.441 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005489, allocations: 0 / 290.6 MB, free: 3.441 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001221/0.005611, allocations: 19.94 kB / 290.6 MB, free: 3.422 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.001113/0.006725, allocations: 0.5413 MB / 291.1 MB, free: 3.152 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.898e-05/0.006794, allocations: 28.8 kB / 291.2 MB, free: 3.121 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.006799, allocations: 3.984 kB / 291.2 MB, free: 3.117 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.465e-05/0.006824, allocations: 20.84 kB / 291.2 MB, free: 3.094 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.007004, allocations: 87.2 kB / 291.3 MB, free: 2.996 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003518/0.007356, allocations: 186.6 kB / 291.5 MB, free: 2.781 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.589e-05/0.007392, allocations: 67.33 kB / 291.5 MB, free: 2.695 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.446e-05/0.007416, allocations: 4 kB / 291.5 MB, free: 2.691 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.472e-05/0.007461, allocations: 55.38 kB / 291.6 MB, free: 2.637 MB / 282.7 MB Notification: Performance of SimCode: time 5.82e-07/0.007462, allocations: 0 / 291.6 MB, free: 2.637 MB / 282.7 MB Notification: Performance of Templates: time 0.002553/0.01001, allocations: 1.24 MB / 292.8 MB, free: 1.414 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5632700100541115]