Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.001704/0.001704, allocations: 84.55 kB / 20.68 MB, free: 1.027 MB / 14.72 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.002323/0.002323, allocations: 163 kB / 23.95 MB, free: 4.156 MB / 14.72 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 1.47/1.47, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.2094/0.2094, allocations: 34.28 MB / 294.9 MB, free: 14.57 MB / 286.1 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.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.749e-06/4.749e-06, allocations: 3.984 kB / 442.7 MB, free: 5.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.383e-05/3.858e-05, allocations: 6.219 kB / 442.7 MB, free: 5.379 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.004742/0.004781, allocations: 1.599 MB / 444.3 MB, free: 3.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003311/0.008092, allocations: 1.247 MB / 445.5 MB, free: 2.516 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.348e-05/0.008176, allocations: 0 / 445.5 MB, free: 2.516 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002975/0.008473, allocations: 31.72 kB / 445.6 MB, free: 2.484 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005235/0.008997, allocations: 87.55 kB / 445.7 MB, free: 2.398 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005286/0.009525, allocations: 107 kB / 445.8 MB, free: 2.297 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002729/0.009798, allocations: 71.77 kB / 445.8 MB, free: 2.227 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.009921, allocations: 12 kB / 445.8 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.01005, allocations: 39.83 kB / 445.9 MB, free: 2.176 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.0102, allocations: 15.98 kB / 445.9 MB, free: 2.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.01024, allocations: 4 kB / 445.9 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003267/0.01056, allocations: 103.7 kB / 446 MB, free: 2.055 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.606e-05/0.01064, allocations: 19.91 kB / 446 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.524e-05/0.01068, allocations: 8 kB / 446 MB, free: 2.027 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004229/0.01111, allocations: 151.5 kB / 446.2 MB, free: 1.879 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.01111, allocations: 0 / 446.2 MB, free: 1.879 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.01111, allocations: 0 / 446.2 MB, free: 1.879 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.01112, allocations: 0 / 446.2 MB, free: 1.879 MB / 366.1 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.0007439/0.01186, allocations: 325.7 kB / 446.5 MB, free: 1.531 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.01191, allocations: 8.031 kB / 446.5 MB, free: 1.523 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.609e-05/0.01197, allocations: 12.88 kB / 446.5 MB, free: 1.512 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003267/0.0123, allocations: 125.7 kB / 446.6 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.01231, allocations: 8.375 kB / 446.7 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.01234, allocations: 384 / 446.7 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.0126, allocations: 93.59 kB / 446.7 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.01262, allocations: 8.141 kB / 446.7 MB, free: 1.238 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.01264, allocations: 4.125 kB / 446.8 MB, free: 1.234 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.01265, allocations: 3.938 kB / 446.8 MB, free: 1.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.01279, allocations: 23.98 kB / 446.8 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005653/0.01336, allocations: 228.6 kB / 447 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003058/0.01366, allocations: 42.5 kB / 447 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.912e-05/0.01375, allocations: 20.94 kB / 447.1 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.01378, allocations: 3.938 kB / 447.1 MB, free: 0.875 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.916e-05/0.01383, allocations: 34.56 kB / 447.1 MB, free: 0.832 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.733e-06/0.01383, allocations: 0 / 447.1 MB, free: 0.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0009586/0.01479, allocations: 153.7 kB / 447.3 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.802e-05/0.01488, allocations: 77.11 kB / 447.3 MB, free: 0.582 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.01512, allocations: 148.3 kB / 447.5 MB, free: 440 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.01515, allocations: 29.7 kB / 447.5 MB, free: 404 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.938e-05/0.01523, allocations: 88.14 kB / 447.6 MB, free: 312 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.964e-05/0.01528, allocations: 23.78 kB / 447.6 MB, free: 288 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.769e-05/0.01535, allocations: 17.72 kB / 447.6 MB, free: 264 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2356/0.2509, allocations: 318.8 kB / 447.9 MB, free: 19.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.2511, allocations: 22.48 kB / 448 MB, free: 19.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.2512, allocations: 62.23 kB / 448 MB, free: 19.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.2513, allocations: 54.89 kB / 448.1 MB, free: 19.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2513, allocations: 2.25 kB / 448.1 MB, free: 19.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002386/0.2516, allocations: 85.19 kB / 448.2 MB, free: 18.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.2516, allocations: 8.469 kB / 448.2 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.2516, allocations: 0 / 448.2 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.2516, allocations: 1.766 kB / 448.2 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.434e-05/0.2517, allocations: 12.67 kB / 448.2 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.2517, allocations: 8.281 kB / 448.2 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.621e-05/0.2518, allocations: 7.641 kB / 448.2 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.2518, allocations: 5.594 kB / 448.2 MB, free: 18.99 MB / 366.1 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.843e-05/0.2518, allocations: 115.8 kB / 448.3 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.2519, allocations: 7.734 kB / 448.3 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002613/0.2521, allocations: 96.48 kB / 448.4 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.2522, allocations: 2.094 kB / 448.4 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2522, allocations: 5.016 kB / 448.4 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2522, allocations: 0 / 448.4 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004018/0.2526, allocations: 298.4 kB / 448.7 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2526, allocations: 6.203 kB / 448.7 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.072e-05/0.2526, allocations: 12.5 kB / 448.7 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.2526, allocations: 1.062 kB / 448.7 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.2526, allocations: 6.719 kB / 448.7 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2526, allocations: 0 / 448.7 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2526, allocations: 1.062 kB / 448.7 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/0.2528, allocations: 184.4 kB / 448.9 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.669e-05/0.2529, allocations: 14.09 kB / 448.9 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.2529, allocations: 3.938 kB / 448.9 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.086e-05/0.253, allocations: 9.375 kB / 449 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.253, allocations: 7.672 kB / 449 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.253, allocations: 5.219 kB / 449 MB, free: 18.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.374e-05/0.2531, allocations: 112.2 kB / 449.1 MB, free: 18.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2531, allocations: 1.125 kB / 449.1 MB, free: 18.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003104/0.2534, allocations: 43.08 kB / 449.1 MB, free: 18.39 MB / 366.1 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.001817/0.2552, allocations: 0.5293 MB / 449.6 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000216/0.2554, allocations: 49.62 kB / 449.7 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2554, allocations: 0 / 449.7 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.345e-05/0.2555, allocations: 29.02 kB / 449.7 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.2558, allocations: 21.58 kB / 449.7 MB, free: 18.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004063/0.2562, allocations: 182.5 kB / 449.9 MB, free: 18.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.937e-05/0.2563, allocations: 79.89 kB / 450 MB, free: 18.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.41e-05/0.2564, allocations: 13.45 kB / 450 MB, free: 18.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.172e-05/0.2564, allocations: 16.69 kB / 450 MB, free: 18.02 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2564, allocations: 0 / 450 MB, free: 18.02 MB / 366.1 MB Notification: Performance of Templates: time 0.005364/0.2618, allocations: 1.828 MB / 451.9 MB, free: 17.79 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.869743682444096]