Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.001173/0.001173, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001144/0.001144, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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 0.989/0.989, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.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.2733/0.2733, allocations: 32.81 MB / 294.3 MB, free: 1.199 MB / 266.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.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 376 MB, free: 4.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.856e-05/3.032e-05, allocations: 6.312 kB / 376 MB, free: 4.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.002473/0.002504, allocations: 1.638 MB / 377.7 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.00379, allocations: 1.274 MB / 378.9 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.137e-05/0.003852, allocations: 0 / 378.9 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002283/0.00408, allocations: 23.8 kB / 379 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003235/0.004404, allocations: 91.48 kB / 379.1 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.004671, allocations: 91.69 kB / 379.1 MB, free: 1.484 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.00481, allocations: 71.72 kB / 379.2 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.738e-05/0.004908, allocations: 15.97 kB / 379.2 MB, free: 1.398 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.122e-05/0.004969, allocations: 27.92 kB / 379.3 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.005072, allocations: 27.89 kB / 379.3 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.005089, allocations: 4 kB / 379.3 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.005242, allocations: 87.89 kB / 379.4 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.833e-05/0.00529, allocations: 19.92 kB / 379.4 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.948e-05/0.005319, allocations: 11.98 kB / 379.4 MB, free: 1.223 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.005545, allocations: 139.4 kB / 379.5 MB, free: 1.086 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.005547, allocations: 0 / 379.5 MB, free: 1.086 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.005548, allocations: 0 / 379.5 MB, free: 1.086 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.005553, allocations: 0 / 379.5 MB, free: 1.086 MB / 346.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.0004148/0.005967, allocations: 420 kB / 380 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.006009, allocations: 12.03 kB / 380 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.006059, allocations: 8.891 kB / 380 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.006225, allocations: 139.4 kB / 380.1 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.006235, allocations: 4.375 kB / 380.1 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.006262, allocations: 8.312 kB / 380.1 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.006419, allocations: 100 kB / 380.2 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.00643, allocations: 4.172 kB / 380.2 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.006442, allocations: 4.125 kB / 380.2 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.00645, allocations: 0 / 380.2 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.771e-05/0.006487, allocations: 12 kB / 380.2 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000318/0.006805, allocations: 279.7 kB / 380.5 MB, free: 0 / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.007004, allocations: 43.05 kB / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.192e-05/0.007026, allocations: 15.69 kB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.007052, allocations: 11.92 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.007074, allocations: 33.39 kB / 380.6 MB, free: 15.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.007075, allocations: 0 / 380.6 MB, free: 15.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003452/0.00742, allocations: 101.5 kB / 380.7 MB, free: 15.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.007465, allocations: 81.11 kB / 380.8 MB, free: 15.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.007589, allocations: 196.2 kB / 381 MB, free: 15.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.0076, allocations: 25.7 kB / 381 MB, free: 15.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.727e-05/0.007658, allocations: 142.9 kB / 381.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.007681, allocations: 27.72 kB / 381.2 MB, free: 15.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.007715, allocations: 23.38 kB / 381.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.007836, allocations: 0.4923 MB / 381.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.787e-05/0.007854, allocations: 4 kB / 381.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.782e-05/0.007891, allocations: 53.06 kB / 381.7 MB, free: 14.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.952e-05/0.007931, allocations: 27.88 kB / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.007934, allocations: 4 kB / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.04e-05/0.008015, allocations: 57.62 kB / 381.8 MB, free: 14.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.008027, allocations: 4 kB / 381.8 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.008032, allocations: 0 / 381.8 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.008046, allocations: 0 / 381.8 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.079e-05/0.008097, allocations: 15.92 kB / 381.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.008102, allocations: 0 / 381.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.426e-05/0.008126, allocations: 11.98 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.008132, allocations: 0 / 381.9 MB, free: 14.52 MB / 362.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 7.253e-05/0.008205, allocations: 160.6 kB / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.008229, allocations: 11.89 kB / 382 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.008365, allocations: 70.14 kB / 382.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.008368, allocations: 3.938 kB / 382.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.008374, allocations: 0 / 382.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.008379, allocations: 0 / 382.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.008627, allocations: 321.3 kB / 382.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.008629, allocations: 4 kB / 382.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.706e-05/0.008666, allocations: 15.98 kB / 382.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.008668, allocations: 0 / 382.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.008674, allocations: 0 / 382.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.008676, allocations: 0 / 382.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.008677, allocations: 0 / 382.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.008791, allocations: 216 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.176e-05/0.008803, allocations: 7.953 kB / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.008817, allocations: 4 kB / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.498e-05/0.008852, allocations: 3.984 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.008882, allocations: 4 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.008886, allocations: 8 kB / 382.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.966e-05/0.008955, allocations: 149.2 kB / 382.8 MB, free: 13.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008956, allocations: 0 / 382.8 MB, free: 13.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002136/0.009169, allocations: 35.88 kB / 382.9 MB, free: 13.45 MB / 362.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.001057/0.01023, allocations: 499.8 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001096/0.01034, allocations: 27.61 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.01034, allocations: 0 / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.477e-05/0.01036, allocations: 23.67 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.01058, allocations: 24.17 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003295/0.01091, allocations: 165.9 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.737e-05/0.01094, allocations: 59.36 kB / 383.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.331e-05/0.01099, allocations: 15.97 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.223e-05/0.01102, allocations: 20.48 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01102, allocations: 3.938 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of Templates: time 0.003834/0.01485, allocations: 1.817 MB / 385.5 MB, free: 10.94 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.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.3415560079738498]