Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.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.0009655/0.0009655, allocations: 88.2 kB / 20.94 MB, free: 3.605 MB / 18.57 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.001115/0.001115, allocations: 169 kB / 24.25 MB, free: 308 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.055/1.055, allocations: 158.6 MB / 186 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1771/0.1771, allocations: 32.37 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 347.7 MB, free: 9.781 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/2.981e-05, allocations: 6.25 kB / 347.7 MB, free: 9.773 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.002111/0.00214, allocations: 1.606 MB / 349.3 MB, free: 8.164 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005739/0.002714, allocations: 319.4 kB / 349.6 MB, free: 7.848 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.666e-05/0.002791, allocations: 0 / 349.6 MB, free: 7.848 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003778/0.003169, allocations: 107.7 kB / 349.7 MB, free: 7.742 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.003403, allocations: 75.66 kB / 349.8 MB, free: 7.668 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.003663, allocations: 75.77 kB / 349.8 MB, free: 7.594 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.003841, allocations: 71.83 kB / 349.9 MB, free: 7.523 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.003983, allocations: 19.97 kB / 349.9 MB, free: 7.504 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.939e-05/0.004063, allocations: 39.84 kB / 350 MB, free: 7.465 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.004178, allocations: 67.84 kB / 350 MB, free: 7.398 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.004198, allocations: 4 kB / 350 MB, free: 7.395 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.921e-05/0.004277, allocations: 27.94 kB / 350.1 MB, free: 7.367 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.984e-05/0.004337, allocations: 27.91 kB / 350.1 MB, free: 7.34 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.353e-05/0.004371, allocations: 7.938 kB / 350.1 MB, free: 7.332 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.004543, allocations: 79.73 kB / 350.2 MB, free: 7.254 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.004547, allocations: 3.984 kB / 350.2 MB, free: 7.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.004549, allocations: 0 / 350.2 MB, free: 7.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.004554, allocations: 0 / 350.2 MB, free: 7.25 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004512/0.005006, allocations: 447.8 kB / 350.6 MB, free: 6.777 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.005051, allocations: 12.03 kB / 350.6 MB, free: 6.766 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.376e-05/0.005105, allocations: 12.89 kB / 350.6 MB, free: 6.754 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.005256, allocations: 140.3 kB / 350.8 MB, free: 6.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.005271, allocations: 8.375 kB / 350.8 MB, free: 6.582 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.005293, allocations: 384 / 350.8 MB, free: 6.582 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.005418, allocations: 54.95 kB / 350.8 MB, free: 6.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.005431, allocations: 192 / 350.8 MB, free: 6.52 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.005443, allocations: 4.125 kB / 350.9 MB, free: 6.516 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.005452, allocations: 3.984 kB / 350.9 MB, free: 6.512 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.227e-05/0.005485, allocations: 15.94 kB / 350.9 MB, free: 6.496 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002813/0.005766, allocations: 283.8 kB / 351.2 MB, free: 6.184 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.005969, allocations: 47.03 kB / 351.2 MB, free: 6.125 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.354e-05/0.005992, allocations: 11.69 kB / 351.2 MB, free: 6.109 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.006017, allocations: 3.938 kB / 351.2 MB, free: 6.105 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.006036, allocations: 37.33 kB / 351.2 MB, free: 6.059 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.804e-06/0.006037, allocations: 0 / 351.2 MB, free: 6.059 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003843/0.006422, allocations: 113.5 kB / 351.4 MB, free: 5.941 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.00645, allocations: 51.41 kB / 351.4 MB, free: 5.879 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.006593, allocations: 249.9 kB / 351.7 MB, free: 5.617 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.006602, allocations: 33.7 kB / 351.7 MB, free: 5.578 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.809e-05/0.00665, allocations: 158.8 kB / 351.8 MB, free: 5.418 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.006671, allocations: 15.84 kB / 351.9 MB, free: 5.402 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.006703, allocations: 23.38 kB / 351.9 MB, free: 5.371 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.338e-05/0.006756, allocations: 0.4962 MB / 352.4 MB, free: 4.863 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.845e-05/0.006775, allocations: 4 kB / 352.4 MB, free: 4.859 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.091e-05/0.006796, allocations: 7.984 kB / 352.4 MB, free: 4.852 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.809e-05/0.006834, allocations: 35.81 kB / 352.4 MB, free: 4.812 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.006835, allocations: 0 / 352.4 MB, free: 4.812 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.867e-05/0.006914, allocations: 69.47 kB / 352.5 MB, free: 4.738 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.006929, allocations: 8 kB / 352.5 MB, free: 4.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.006934, allocations: 0 / 352.5 MB, free: 4.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.006951, allocations: 4 kB / 352.5 MB, free: 4.727 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.382e-05/0.007004, allocations: 8 kB / 352.5 MB, free: 4.719 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.007011, allocations: 0 / 352.5 MB, free: 4.719 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.925e-05/0.007031, allocations: 0 / 352.5 MB, free: 4.719 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.007037, allocations: 7.984 kB / 352.5 MB, free: 4.711 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 (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 5.015e-05/0.007088, allocations: 156.6 kB / 352.7 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.007107, allocations: 15.89 kB / 352.7 MB, free: 4.531 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.007224, allocations: 74.77 kB / 352.8 MB, free: 4.449 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.007226, allocations: 4 kB / 352.8 MB, free: 4.445 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.00723, allocations: 0 / 352.8 MB, free: 4.445 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.007235, allocations: 0 / 352.8 MB, free: 4.445 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.007462, allocations: 333.4 kB / 353.1 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.007464, allocations: 4 kB / 353.1 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.702e-05/0.007501, allocations: 8 kB / 353.1 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.007504, allocations: 0 / 353.1 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.016e-06/0.007512, allocations: 4 kB / 353.1 MB, free: 4.062 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.007514, allocations: 192 / 353.1 MB, free: 4.062 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.007517, allocations: 3.938 kB / 353.1 MB, free: 4.059 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.596e-05/0.007603, allocations: 211.8 kB / 353.3 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.191e-05/0.007615, allocations: 23.89 kB / 353.3 MB, free: 3.809 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.007629, allocations: 0 / 353.3 MB, free: 3.809 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.202e-05/0.007661, allocations: 4 kB / 353.3 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.007706, allocations: 0 / 353.3 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.00771, allocations: 3.984 kB / 353.3 MB, free: 3.801 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.43e-05/0.007774, allocations: 183.1 kB / 353.5 MB, free: 3.621 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007774, allocations: 0 / 353.5 MB, free: 3.621 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001725/0.007947, allocations: 19.94 kB / 353.5 MB, free: 3.602 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 (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.0008514/0.008798, allocations: 375.9 kB / 353.9 MB, free: 3.324 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001127/0.008911, allocations: 31.61 kB / 353.9 MB, free: 3.289 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.008915, allocations: 4 kB / 353.9 MB, free: 3.285 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.111e-05/0.008936, allocations: 19.69 kB / 354 MB, free: 3.262 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.00919, allocations: 33.05 kB / 354 MB, free: 3.23 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003765/0.009566, allocations: 210.6 kB / 354.2 MB, free: 2.992 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.379e-05/0.0096, allocations: 67.33 kB / 354.3 MB, free: 2.906 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.76e-05/0.009628, allocations: 11.92 kB / 354.3 MB, free: 2.895 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.45e-05/0.009662, allocations: 12.5 kB / 354.3 MB, free: 2.883 MB / 282.7 MB Notification: Performance of SimCode: time 1.393e-06/0.009664, allocations: 0 / 354.3 MB, free: 2.883 MB / 282.7 MB Notification: Performance of Templates: time 0.003384/0.01305, allocations: 1.171 MB / 355.5 MB, free: 1.723 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.262331860838458]