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.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.001266/0.001266, allocations: 78.67 kB / 20.68 MB, free: 1.02 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.002071/0.002071, allocations: 168.5 kB / 23.96 MB, free: 4.141 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.441/1.441, allocations: 177.2 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.1928/0.1928, allocations: 32.81 MB / 293.5 MB, free: 28 kB / 270.1 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.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|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.1.|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.373e-06/1.373e-06, allocations: 0 / 440.1 MB, free: 8.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.354e-05/2.492e-05, allocations: 6.281 kB / 440.1 MB, free: 8.145 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.002786/0.002811, allocations: 1.588 MB / 441.7 MB, free: 6.547 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.003846, allocations: 0.522 MB / 442.2 MB, free: 6.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.558e-05/0.003901, allocations: 4 kB / 442.2 MB, free: 6.016 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002114/0.004113, allocations: 31.83 kB / 442.2 MB, free: 5.984 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.004401, allocations: 83.56 kB / 442.3 MB, free: 5.902 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.004662, allocations: 83.7 kB / 442.4 MB, free: 5.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.004822, allocations: 71.7 kB / 442.5 MB, free: 5.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.917e-05/0.004921, allocations: 11.98 kB / 442.5 MB, free: 5.738 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.674e-05/0.004988, allocations: 31.91 kB / 442.5 MB, free: 5.707 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.616e-05/0.005044, allocations: 11.94 kB / 442.5 MB, free: 5.695 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.005061, allocations: 4 kB / 442.5 MB, free: 5.691 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.56e-05/0.005136, allocations: 35.92 kB / 442.6 MB, free: 5.656 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.255e-05/0.005199, allocations: 23.91 kB / 442.6 MB, free: 5.633 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.808e-05/0.005227, allocations: 7.938 kB / 442.6 MB, free: 5.625 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.005403, allocations: 91.64 kB / 442.7 MB, free: 5.535 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.005406, allocations: 0 / 442.7 MB, free: 5.535 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005407, allocations: 0 / 442.7 MB, free: 5.535 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.00541, allocations: 3.938 kB / 442.7 MB, free: 5.531 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.0004675/0.005878, allocations: 313.8 kB / 443 MB, free: 5.195 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.005913, allocations: 12.03 kB / 443 MB, free: 5.184 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.982e-05/0.005953, allocations: 12.89 kB / 443 MB, free: 5.172 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.00612, allocations: 133.4 kB / 443.2 MB, free: 5.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.00613, allocations: 384 / 443.2 MB, free: 5.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.006153, allocations: 8.375 kB / 443.2 MB, free: 5.012 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.006295, allocations: 53.98 kB / 443.2 MB, free: 4.953 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.006305, allocations: 0 / 443.2 MB, free: 4.953 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.006313, allocations: 0 / 443.2 MB, free: 4.953 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.006317, allocations: 0 / 443.2 MB, free: 4.953 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.271e-05/0.00641, allocations: 23.92 kB / 443.2 MB, free: 4.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003171/0.006727, allocations: 220.6 kB / 443.5 MB, free: 4.684 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.006937, allocations: 46.5 kB / 443.5 MB, free: 4.629 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.24e-05/0.006989, allocations: 20.94 kB / 443.5 MB, free: 4.605 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.007006, allocations: 0 / 443.5 MB, free: 4.605 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.007027, allocations: 34.5 kB / 443.6 MB, free: 4.562 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.007028, allocations: 0 / 443.6 MB, free: 4.562 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005498/0.007578, allocations: 145.4 kB / 443.7 MB, free: 4.414 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.007616, allocations: 67.27 kB / 443.8 MB, free: 4.336 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.007796, allocations: 177.5 kB / 443.9 MB, free: 4.152 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.007814, allocations: 25.7 kB / 444 MB, free: 4.121 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.425e-05/0.007878, allocations: 104.1 kB / 444.1 MB, free: 4.016 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.007898, allocations: 11.91 kB / 444.1 MB, free: 4.004 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.007935, allocations: 13.72 kB / 444.1 MB, free: 3.984 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.008075, allocations: 326.8 kB / 444.4 MB, free: 3.656 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.33e-05/0.008158, allocations: 19.98 kB / 444.4 MB, free: 3.637 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.026e-05/0.008218, allocations: 15.98 kB / 444.4 MB, free: 3.621 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.008351, allocations: 52.83 kB / 444.5 MB, free: 3.566 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.008351, allocations: 0 / 444.5 MB, free: 3.566 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001872/0.008538, allocations: 81.56 kB / 444.6 MB, free: 3.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.008551, allocations: 4 kB / 444.6 MB, free: 3.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.008555, allocations: 256 / 444.6 MB, free: 3.477 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.008567, allocations: 4.281 kB / 444.6 MB, free: 3.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.782e-05/0.008635, allocations: 15.98 kB / 444.6 MB, free: 3.457 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.008639, allocations: 0 / 444.6 MB, free: 3.457 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.05e-05/0.00868, allocations: 8 kB / 444.6 MB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.008687, allocations: 3.984 kB / 444.6 MB, free: 3.445 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 9.596e-05/0.008783, allocations: 126.4 kB / 444.7 MB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.2e-05/0.008825, allocations: 15.89 kB / 444.8 MB, free: 3.297 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.009068, allocations: 98.05 kB / 444.9 MB, free: 3.188 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.009072, allocations: 4 kB / 444.9 MB, free: 3.184 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.009075, allocations: 3.938 kB / 444.9 MB, free: 3.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.00908, allocations: 3.984 kB / 444.9 MB, free: 3.176 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003879/0.009468, allocations: 290.2 kB / 445.1 MB, free: 2.855 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.009469, allocations: 0 / 445.1 MB, free: 2.855 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.877e-05/0.009538, allocations: 15.98 kB / 445.2 MB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.009539, allocations: 0 / 445.2 MB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.009549, allocations: 4 kB / 445.2 MB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.00955, allocations: 0 / 445.2 MB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.009551, allocations: 0 / 445.2 MB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.009783, allocations: 179.4 kB / 445.3 MB, free: 2.645 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.111e-05/0.009794, allocations: 7.953 kB / 445.3 MB, free: 2.637 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.009816, allocations: 11.98 kB / 445.4 MB, free: 2.625 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.009882, allocations: 3.938 kB / 445.4 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.009916, allocations: 7.984 kB / 445.4 MB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-06/0.00992, allocations: 192 / 445.4 MB, free: 2.613 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001151/0.01004, allocations: 142 kB / 445.5 MB, free: 2.477 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01004, allocations: 0 / 445.5 MB, free: 2.477 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002325/0.01027, allocations: 11.94 kB / 445.5 MB, free: 2.465 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.001538/0.01181, allocations: 445.5 kB / 446 MB, free: 2.211 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002044/0.01201, allocations: 47.91 kB / 446 MB, free: 2.164 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01201, allocations: 0 / 446 MB, free: 2.164 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.093e-05/0.01208, allocations: 19.98 kB / 446 MB, free: 2.145 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.01239, allocations: 15.98 kB / 446 MB, free: 2.129 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004471/0.01283, allocations: 201.1 kB / 446.2 MB, free: 1.906 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.737e-05/0.01292, allocations: 79.61 kB / 446.3 MB, free: 1.805 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.078e-05/0.01296, allocations: 11.98 kB / 446.3 MB, free: 1.793 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.311e-05/0.01299, allocations: 16.5 kB / 446.3 MB, free: 1.777 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.01299, allocations: 0 / 446.3 MB, free: 1.777 MB / 366.1 MB Notification: Performance of Templates: time 0.00405/0.01704, allocations: 1.147 MB / 447.5 MB, free: 0.6406 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.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.50418184697628]