Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.0007235/0.0007235, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001027/0.001751, 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.0006389/0.0006389, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008919/0.001531, 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.8977/0.8977, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1817/1.079, allocations: 52.49 MB / 238.5 MB, free: 7.641 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.1362/0.1362, allocations: 32.8 MB / 272 MB, free: 6.316 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02007/0.1563, allocations: 12.54 MB / 284.5 MB, free: 9.734 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.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 285.9 MB, free: 8.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.448e-06/1.064e-05, allocations: 4.984 kB / 285.9 MB, free: 8.406 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.001807/0.001818, allocations: 1.668 MB / 287.5 MB, free: 6.727 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009737/0.002791, allocations: 1.193 MB / 288.7 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.312e-05/0.002835, allocations: 4 kB / 288.7 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.002947, allocations: 19.8 kB / 288.8 MB, free: 5.504 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.00305, allocations: 43.72 kB / 288.8 MB, free: 5.461 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.00325, allocations: 119.5 kB / 288.9 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.003367, allocations: 67.78 kB / 289 MB, free: 5.277 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.535e-05/0.003452, allocations: 24.09 kB / 289 MB, free: 5.254 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.643e-05/0.003529, allocations: 55.91 kB / 289.1 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.329e-05/0.003602, allocations: 23.91 kB / 289.1 MB, free: 5.176 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.003617, allocations: 4 kB / 289.1 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.794e-05/0.003715, allocations: 55.84 kB / 289.1 MB, free: 5.117 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.145e-05/0.003746, allocations: 11.94 kB / 289.2 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.999e-05/0.003766, allocations: 11.94 kB / 289.2 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.003901, allocations: 83.73 kB / 289.2 MB, free: 5.012 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.00391, allocations: 0 / 289.2 MB, free: 5.012 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.003911, allocations: 3.984 kB / 289.3 MB, free: 5.008 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.00392, allocations: 0 / 289.3 MB, free: 5.008 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003478/0.004268, allocations: 304.1 kB / 289.5 MB, free: 4.688 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.702e-05/0.004295, allocations: 11.97 kB / 289.6 MB, free: 4.676 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.004325, allocations: 16.88 kB / 289.6 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.004447, allocations: 125.7 kB / 289.7 MB, free: 4.512 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-06/0.004456, allocations: 8.375 kB / 289.7 MB, free: 4.504 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.004474, allocations: 4.375 kB / 289.7 MB, free: 4.5 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.004584, allocations: 106.3 kB / 289.8 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.004592, allocations: 192 / 289.8 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.0046, allocations: 3.938 kB / 289.8 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.004606, allocations: 4 kB / 289.8 MB, free: 4.367 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.149e-05/0.004627, allocations: 12 kB / 289.8 MB, free: 4.355 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002189/0.004846, allocations: 183 kB / 290 MB, free: 4.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.188e-05/0.004898, allocations: 34.61 kB / 290 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.64e-05/0.004914, allocations: 16.97 kB / 290.1 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.004933, allocations: 3.938 kB / 290.1 MB, free: 4.094 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.004953, allocations: 34.56 kB / 290.1 MB, free: 4.051 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 7.32e-07/0.004954, allocations: 0 / 290.1 MB, free: 4.051 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002656/0.005219, allocations: 113.4 kB / 290.2 MB, free: 3.934 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.024e-05/0.00524, allocations: 51.41 kB / 290.3 MB, free: 3.871 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.091e-05/0.005321, allocations: 135.1 kB / 290.4 MB, free: 3.727 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.005332, allocations: 33.7 kB / 290.4 MB, free: 3.688 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.636e-05/0.005358, allocations: 88.12 kB / 290.5 MB, free: 3.598 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.005379, allocations: 31.72 kB / 290.5 MB, free: 3.566 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.005406, allocations: 21.72 kB / 290.6 MB, free: 3.539 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.966e-05/0.005476, allocations: 318.8 kB / 290.9 MB, free: 3.219 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.263e-05/0.005488, allocations: 11.94 kB / 290.9 MB, free: 3.207 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.972e-05/0.005518, allocations: 47.48 kB / 290.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.273e-05/0.005551, allocations: 35.8 kB / 291 MB, free: 3.109 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.005553, allocations: 3.938 kB / 291 MB, free: 3.105 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.642e-05/0.005609, allocations: 57.67 kB / 291 MB, free: 3.043 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.427e-06/0.005619, allocations: 8.031 kB / 291 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-06/0.005622, allocations: 0 / 291 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.005632, allocations: 0 / 291 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.054e-05/0.005693, allocations: 23.92 kB / 291.1 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-06/0.005695, allocations: 0 / 291.1 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.697e-05/0.005712, allocations: 7.938 kB / 291.1 MB, free: 3.004 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.005716, allocations: 0 / 291.1 MB, free: 3.004 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 5.531e-05/0.005771, allocations: 124.6 kB / 291.2 MB, free: 2.871 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/0.005787, allocations: 4 kB / 291.2 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.631e-05/0.005873, allocations: 70.09 kB / 291.3 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.005875, allocations: 4 kB / 291.3 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.005876, allocations: 0 / 291.3 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.005879, allocations: 0 / 291.3 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.006065, allocations: 234.6 kB / 291.5 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.006067, allocations: 3.984 kB / 291.5 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.599e-05/0.006103, allocations: 16 kB / 291.5 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-06/0.00611, allocations: 7.953 kB / 291.5 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.006112, allocations: 0 / 291.5 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/0.006117, allocations: 4.359 kB / 291.5 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.006118, allocations: 4.172 kB / 291.5 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.006118, allocations: 0 / 291.5 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.592e-05/0.006194, allocations: 171.4 kB / 291.7 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-06/0.006204, allocations: 0 / 291.7 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.018e-05/0.006234, allocations: 4 kB / 291.7 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.388e-05/0.006258, allocations: 7.984 kB / 291.7 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.006262, allocations: 4 kB / 291.7 MB, free: 2.305 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.523e-05/0.006287, allocations: 27.61 kB / 291.7 MB, free: 2.273 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006287, allocations: 0 / 291.7 MB, free: 2.273 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001303/0.006417, allocations: 20 kB / 291.8 MB, free: 2.254 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 (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.001192/0.007609, allocations: 0.6089 MB / 292.4 MB, free: 1.941 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.853e-05/0.007688, allocations: 36.83 kB / 292.4 MB, free: 1.902 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.007692, allocations: 0 / 292.4 MB, free: 1.902 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.83e-05/0.00772, allocations: 24.84 kB / 292.4 MB, free: 1.875 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.007893, allocations: 95.22 kB / 292.5 MB, free: 1.773 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.008246, allocations: 186.4 kB / 292.7 MB, free: 1.562 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.51e-05/0.008281, allocations: 63.34 kB / 292.8 MB, free: 1.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.928e-05/0.008321, allocations: 16.7 kB / 292.8 MB, free: 1.461 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.924e-05/0.00838, allocations: 67.3 kB / 292.8 MB, free: 1.395 MB / 282.7 MB Notification: Performance of SimCode: time 7.02e-07/0.008381, allocations: 0 / 292.8 MB, free: 1.395 MB / 282.7 MB Notification: Performance of Templates: time 0.002834/0.01121, allocations: 1.679 MB / 294.5 MB, free: 15.73 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.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.759646201506257]