Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.000721/0.000721, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00207/0.002791, allocations: 449.8 kB / 10.44 MB, free: 252 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.0008033/0.0008033, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009485/0.001752, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9281/0.9281, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0968/1.025, allocations: 53.67 MB / 243.4 MB, free: 15.51 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.2548/0.2548, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02421/0.279, allocations: 13.1 MB / 291.5 MB, free: 7.344 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 292.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.219e-05/2.374e-05, allocations: 4.812 kB / 292.9 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002084/0.002108, allocations: 1.693 MB / 294.6 MB, free: 4.473 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006477/0.002756, allocations: 0.5413 MB / 295.1 MB, free: 3.926 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.979e-05/0.002806, allocations: 4 kB / 295.1 MB, free: 3.922 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000162/0.002968, allocations: 79.58 kB / 295.2 MB, free: 3.844 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001658/0.003133, allocations: 95.53 kB / 295.3 MB, free: 3.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/0.003323, allocations: 107.5 kB / 295.4 MB, free: 3.645 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.003459, allocations: 75.84 kB / 295.5 MB, free: 3.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.574e-05/0.003535, allocations: 27.89 kB / 295.5 MB, free: 3.543 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.974e-05/0.003625, allocations: 51.91 kB / 295.5 MB, free: 3.492 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.69e-05/0.003702, allocations: 43.88 kB / 295.6 MB, free: 3.449 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.003715, allocations: 4 kB / 295.6 MB, free: 3.445 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.328e-05/0.003788, allocations: 47.86 kB / 295.6 MB, free: 3.398 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.806e-05/0.003826, allocations: 15.94 kB / 295.6 MB, free: 3.383 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.173e-05/0.003848, allocations: 11.94 kB / 295.7 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.003968, allocations: 91.66 kB / 295.7 MB, free: 3.281 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.003977, allocations: 0 / 295.7 MB, free: 3.281 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.003978, allocations: 3.938 kB / 295.8 MB, free: 3.277 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.003985, allocations: 3.938 kB / 295.8 MB, free: 3.273 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003127/0.004298, allocations: 321.2 kB / 296.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.717e-05/0.004325, allocations: 8.031 kB / 296.1 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.7e-05/0.004352, allocations: 12.92 kB / 296.1 MB, free: 2.918 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.004472, allocations: 134.3 kB / 296.2 MB, free: 2.762 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.042e-06/0.004478, allocations: 4.375 kB / 296.2 MB, free: 2.758 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.004494, allocations: 384 / 296.2 MB, free: 2.758 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.952e-05/0.004574, allocations: 62.94 kB / 296.3 MB, free: 2.688 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.004581, allocations: 4.188 kB / 296.3 MB, free: 2.684 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-06/0.004588, allocations: 8.062 kB / 296.3 MB, free: 2.676 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.004591, allocations: 0 / 296.3 MB, free: 2.676 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.04e-05/0.004612, allocations: 11.98 kB / 296.3 MB, free: 2.664 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001759/0.004788, allocations: 171.1 kB / 296.5 MB, free: 2.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.434e-05/0.004832, allocations: 30.56 kB / 296.5 MB, free: 2.441 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.47e-05/0.004847, allocations: 16.88 kB / 296.5 MB, free: 2.422 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.004862, allocations: 0 / 296.5 MB, free: 2.422 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.004879, allocations: 38.5 kB / 296.6 MB, free: 2.375 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 6.11e-07/0.004879, allocations: 0 / 296.6 MB, free: 2.375 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003709/0.00525, allocations: 145.4 kB / 296.7 MB, free: 2.227 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.005273, allocations: 51.41 kB / 296.8 MB, free: 2.164 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.005376, allocations: 177 kB / 296.9 MB, free: 1.973 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.005385, allocations: 29.64 kB / 297 MB, free: 1.938 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.749e-05/0.005413, allocations: 96.11 kB / 297 MB, free: 1.84 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.005434, allocations: 27.75 kB / 297.1 MB, free: 1.812 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.368e-05/0.005458, allocations: 21.69 kB / 297.1 MB, free: 1.785 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.708e-05/0.005525, allocations: 322.8 kB / 297.4 MB, free: 1.461 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.133e-05/0.005536, allocations: 8 kB / 297.4 MB, free: 1.453 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.051e-05/0.005547, allocations: 4 kB / 297.4 MB, free: 1.449 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.174e-05/0.005579, allocations: 40.75 kB / 297.5 MB, free: 1.406 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.00558, allocations: 0 / 297.5 MB, free: 1.406 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.141e-05/0.005631, allocations: 57.62 kB / 297.5 MB, free: 1.344 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.218e-06/0.005641, allocations: 4 kB / 297.5 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.005643, allocations: 0 / 297.5 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.005654, allocations: 4 kB / 297.5 MB, free: 1.336 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.574e-05/0.00571, allocations: 19.98 kB / 297.5 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.005713, allocations: 0 / 297.5 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.634e-05/0.005729, allocations: 4 kB / 297.6 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.005735, allocations: 11.92 kB / 297.6 MB, free: 1.301 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 (8): * Single equations (assignments): 8 * 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.588e-05/0.005781, allocations: 112.7 kB / 297.7 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/0.005798, allocations: 11.94 kB / 297.7 MB, free: 1.168 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.798e-05/0.005886, allocations: 75.11 kB / 297.8 MB, free: 1.086 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.005888, allocations: 0 / 297.8 MB, free: 1.086 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.005889, allocations: 0 / 297.8 MB, free: 1.086 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.005891, allocations: 0 / 297.8 MB, free: 1.086 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.006087, allocations: 255.9 kB / 298 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.006088, allocations: 0 / 298 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.556e-05/0.006123, allocations: 23.95 kB / 298 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.885e-06/0.006131, allocations: 11.95 kB / 298 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.006133, allocations: 0 / 298 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.006138, allocations: 4 kB / 298 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.00614, allocations: 0 / 298 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.006141, allocations: 0 / 298 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.408e-05/0.006215, allocations: 164.3 kB / 298.2 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.006226, allocations: 7.984 kB / 298.2 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.971e-05/0.006256, allocations: 0 / 298.2 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.752e-05/0.006283, allocations: 15.92 kB / 298.2 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.006286, allocations: 7.938 kB / 298.2 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.616e-05/0.006323, allocations: 53.28 kB / 298.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006323, allocations: 0 / 298.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000129/0.006452, allocations: 19.92 kB / 298.3 MB, free: 496 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001228/0.00768, allocations: 0.6413 MB / 299 MB, free: 204 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.681e-05/0.007757, allocations: 36.77 kB / 299 MB, free: 164 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.007761, allocations: 4 kB / 299 MB, free: 160 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.878e-05/0.00779, allocations: 32.72 kB / 299 MB, free: 124 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/0.007966, allocations: 79.39 kB / 299.1 MB, free: 32 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000401/0.008367, allocations: 216.8 kB / 299.3 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.277e-05/0.008419, allocations: 75.42 kB / 299.4 MB, free: 15.69 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.155e-05/0.008451, allocations: 9.188 kB / 299.4 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.852e-05/0.0085, allocations: 63.36 kB / 299.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.0085, allocations: 0 / 299.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of Templates: time 0.002916/0.01142, allocations: 1.498 MB / 301 MB, free: 14.14 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.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.82095287181437]