Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.001314/0.001314, allocations: 84.47 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.001413/0.001413, 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.467/1.467, allocations: 177.1 MB / 204.3 MB, free: 9.176 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.2159/0.2159, 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 442.7 MB, free: 5.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.88e-05/3.031e-05, allocations: 2.281 kB / 442.7 MB, free: 5.375 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.003356/0.003387, allocations: 1.623 MB / 444.3 MB, free: 3.742 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.004575, allocations: 0.5414 MB / 444.9 MB, free: 3.195 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.568e-05/0.00466, allocations: 0 / 444.9 MB, free: 3.195 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003228/0.004983, allocations: 75.75 kB / 444.9 MB, free: 3.121 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004093/0.005393, allocations: 103.5 kB / 445 MB, free: 3.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003895/0.005782, allocations: 126.8 kB / 445.2 MB, free: 2.898 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.005996, allocations: 87.77 kB / 445.2 MB, free: 2.812 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.006107, allocations: 11.97 kB / 445.3 MB, free: 2.801 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.006213, allocations: 43.91 kB / 445.3 MB, free: 2.758 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.00635, allocations: 59.8 kB / 445.4 MB, free: 2.699 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.006374, allocations: 4 kB / 445.4 MB, free: 2.695 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.006496, allocations: 39.92 kB / 445.4 MB, free: 2.656 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.772e-05/0.006563, allocations: 23.92 kB / 445.4 MB, free: 2.633 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.284e-05/0.006606, allocations: 19.92 kB / 445.4 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.006854, allocations: 103.6 kB / 445.5 MB, free: 2.512 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.006858, allocations: 3.984 kB / 445.5 MB, free: 2.508 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.006859, allocations: 0 / 445.5 MB, free: 2.508 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.006864, allocations: 3.938 kB / 445.5 MB, free: 2.504 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005634/0.007427, allocations: 337.6 kB / 445.9 MB, free: 2.145 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.007471, allocations: 8.031 kB / 445.9 MB, free: 2.137 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.699e-05/0.007528, allocations: 12.84 kB / 445.9 MB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.007758, allocations: 150.2 kB / 446 MB, free: 1.949 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.007774, allocations: 4.375 kB / 446 MB, free: 1.945 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.007795, allocations: 384 / 446 MB, free: 1.945 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.007968, allocations: 62.23 kB / 446.1 MB, free: 1.879 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.007982, allocations: 192 / 446.1 MB, free: 1.879 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.007996, allocations: 4.125 kB / 446.1 MB, free: 1.875 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.008001, allocations: 0 / 446.1 MB, free: 1.875 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.008111, allocations: 23.98 kB / 446.1 MB, free: 1.852 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004397/0.008551, allocations: 248.4 kB / 446.4 MB, free: 1.578 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.008679, allocations: 42.64 kB / 446.4 MB, free: 1.527 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.98e-05/0.008739, allocations: 20.88 kB / 446.4 MB, free: 1.504 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.008765, allocations: 0 / 446.4 MB, free: 1.504 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.008797, allocations: 38.56 kB / 446.5 MB, free: 1.457 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.008798, allocations: 0 / 446.5 MB, free: 1.457 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001031/0.009829, allocations: 241.6 kB / 446.7 MB, free: 1.215 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.009885, allocations: 59.34 kB / 446.8 MB, free: 1.145 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.01012, allocations: 210.3 kB / 447 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.01014, allocations: 33.64 kB / 447 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.555e-05/0.01021, allocations: 112.1 kB / 447.1 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.01025, allocations: 27.78 kB / 447.1 MB, free: 0.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/0.0103, allocations: 17.72 kB / 447.2 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.01045, allocations: 326.8 kB / 447.5 MB, free: 408 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.528e-05/0.01055, allocations: 31.97 kB / 447.5 MB, free: 376 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.919e-05/0.01063, allocations: 27.98 kB / 447.5 MB, free: 348 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.01081, allocations: 72.81 kB / 447.6 MB, free: 272 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.01081, allocations: 4 kB / 447.6 MB, free: 268 kB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002581/0.01107, allocations: 133.6 kB / 447.7 MB, free: 128 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.01109, allocations: 4 kB / 447.8 MB, free: 124 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.01109, allocations: 0 / 447.8 MB, free: 124 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.01111, allocations: 0 / 447.8 MB, free: 124 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.01122, allocations: 19.98 kB / 447.8 MB, free: 104 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.01123, allocations: 4.062 kB / 447.8 MB, free: 100 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.926e-05/0.01128, allocations: 7.984 kB / 447.8 MB, free: 92 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.01128, allocations: 4 kB / 447.8 MB, free: 88 kB / 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 (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 0.2081/0.2194, allocations: 130.4 kB / 447.9 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.156e-05/0.2195, allocations: 10.52 kB / 447.9 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003983/0.2199, allocations: 130.8 kB / 448.1 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.2199, allocations: 1.125 kB / 448.1 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.2199, allocations: 1.875 kB / 448.1 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2199, allocations: 0 / 448.1 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005229/0.2204, allocations: 362 kB / 448.4 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.2204, allocations: 1 kB / 448.4 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.359e-05/0.2205, allocations: 22.09 kB / 448.4 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.2205, allocations: 0 / 448.4 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.2205, allocations: 6.312 kB / 448.4 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.2205, allocations: 1.062 kB / 448.4 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.2205, allocations: 0 / 448.4 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.2208, allocations: 212 kB / 448.6 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.526e-05/0.2208, allocations: 10.48 kB / 448.7 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.2208, allocations: 7.484 kB / 448.7 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.339e-05/0.2209, allocations: 7 kB / 448.7 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.2209, allocations: 6.141 kB / 448.7 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.2209, allocations: 6.391 kB / 448.7 MB, free: 18.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000117/0.2211, allocations: 165.1 kB / 448.8 MB, free: 18.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2211, allocations: 1.188 kB / 448.8 MB, free: 18.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.2213, allocations: 23.94 kB / 448.9 MB, free: 18.51 MB / 366.1 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.001827/0.2231, allocations: 490.9 kB / 449.3 MB, free: 18.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002674/0.2234, allocations: 72.38 kB / 449.4 MB, free: 18.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2234, allocations: 0 / 449.4 MB, free: 18.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.2235, allocations: 45.61 kB / 449.5 MB, free: 18.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.2239, allocations: 20.53 kB / 449.5 MB, free: 18.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005354/0.2244, allocations: 270.6 kB / 449.7 MB, free: 18.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.567e-05/0.2245, allocations: 96.55 kB / 449.8 MB, free: 18.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.841e-05/0.2245, allocations: 17.38 kB / 449.9 MB, free: 18.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.556e-05/0.2246, allocations: 15.91 kB / 449.9 MB, free: 18.13 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2246, allocations: 3.594 kB / 449.9 MB, free: 18.13 MB / 366.1 MB Notification: Performance of Templates: time 0.004904/0.2295, allocations: 1.386 MB / 451.3 MB, free: 17.96 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.842027228325605]