Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test26.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.000949/0.000949, allocations: 87.56 kB / 21.19 MB, free: 3.402 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.00147/0.00147, allocations: 161 kB / 24.56 MB, free: 40 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.9645/0.9645, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.2459/0.2459, allocations: 34.26 MB / 295.7 MB, free: 0.7734 MB / 266.7 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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.822e-05/3.015e-05, allocations: 2.312 kB / 378.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.006213/0.006243, allocations: 1.653 MB / 379.7 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00414/0.01038, allocations: 0.5453 MB / 380.3 MB, free: 424 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.821e-05/0.01045, allocations: 0 / 380.3 MB, free: 424 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000297/0.01075, allocations: 79.7 kB / 380.3 MB, free: 344 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003618/0.01111, allocations: 111.5 kB / 380.4 MB, free: 232 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.01144, allocations: 111.6 kB / 380.6 MB, free: 120 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.01161, allocations: 87.73 kB / 380.6 MB, free: 32 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.908e-05/0.01171, allocations: 11.98 kB / 380.7 MB, free: 20 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.01182, allocations: 43.89 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.01193, allocations: 59.86 kB / 380.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.01195, allocations: 4 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.914e-05/0.01205, allocations: 43.92 kB / 380.8 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.366e-05/0.0121, allocations: 19.94 kB / 380.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.537e-05/0.01214, allocations: 19.91 kB / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.01233, allocations: 91.61 kB / 380.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.01233, allocations: 3.984 kB / 380.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.01233, allocations: 0 / 380.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.01234, allocations: 0 / 380.9 MB, free: 15.74 MB / 362.7 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.003502/0.01584, allocations: 443.9 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.01588, allocations: 12.03 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.232e-05/0.01593, allocations: 12.84 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.01611, allocations: 153.1 kB / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.01612, allocations: 4.375 kB / 381.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.01615, allocations: 4.375 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.0163, allocations: 58.94 kB / 381.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.01631, allocations: 192 / 381.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.01632, allocations: 8.125 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.01633, allocations: 4 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.444e-05/0.01637, allocations: 7.984 kB / 381.6 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003877/0.01676, allocations: 299.7 kB / 381.9 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.173e-05/0.01684, allocations: 39.05 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.159e-05/0.01687, allocations: 19.61 kB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.0169, allocations: 8 kB / 382 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.01692, allocations: 37.39 kB / 382 MB, free: 14.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.01692, allocations: 0 / 382 MB, free: 14.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006835/0.01761, allocations: 173.3 kB / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.01764, allocations: 51.41 kB / 382.2 MB, free: 14.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.01782, allocations: 242.4 kB / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.01783, allocations: 29.7 kB / 382.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.27e-05/0.0179, allocations: 154.8 kB / 382.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.01794, allocations: 31.75 kB / 382.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.788e-05/0.01798, allocations: 31.36 kB / 382.7 MB, free: 13.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.01814, allocations: 0.5 MB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.668e-05/0.01817, allocations: 8.062 kB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.665e-05/0.0182, allocations: 11.98 kB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.973e-05/0.01827, allocations: 31.69 kB / 383.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.01827, allocations: 4 kB / 383.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001348/0.0184, allocations: 77.53 kB / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.01842, allocations: 4 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.01842, allocations: 4 kB / 383.4 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.01844, allocations: 4 kB / 383.4 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003136/0.02158, allocations: 19.98 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.02158, allocations: 0 / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.478e-05/0.02163, allocations: 8 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.02164, allocations: 3.984 kB / 383.4 MB, free: 13.07 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 (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 9.082e-05/0.02173, allocations: 160.5 kB / 383.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/0.02177, allocations: 15.91 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001928/0.02196, allocations: 87.39 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.02197, allocations: 0 / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.02197, allocations: 0 / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.02197, allocations: 0 / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004182/0.02239, allocations: 385 kB / 384 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.0224, allocations: 4 kB / 384 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.421e-05/0.02247, allocations: 19.98 kB / 384 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.02247, allocations: 0 / 384 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.02248, allocations: 0 / 384 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.02248, allocations: 4 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.02248, allocations: 0 / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.02268, allocations: 243.4 kB / 384.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.588e-05/0.0227, allocations: 11.94 kB / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.02271, allocations: 4.031 kB / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.181e-05/0.02278, allocations: 8 kB / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.02282, allocations: 11.92 kB / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.463e-06/0.02283, allocations: 0 / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001132/0.02294, allocations: 175.1 kB / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.02294, allocations: 0 / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002778/0.02322, allocations: 19.94 kB / 384.5 MB, free: 11.86 MB / 362.7 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.004239/0.02746, allocations: 443.3 kB / 384.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001444/0.0276, allocations: 43.66 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.02761, allocations: 4 kB / 385 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.225e-05/0.02766, allocations: 31.62 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.02797, allocations: 19.94 kB / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004627/0.02844, allocations: 237.8 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.465e-05/0.02849, allocations: 67.34 kB / 385.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.582e-05/0.02856, allocations: 25.06 kB / 385.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.133e-05/0.0286, allocations: 20.5 kB / 385.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.0286, allocations: 0 / 385.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of Templates: time 0.004253/0.03285, allocations: 1.401 MB / 386.8 MB, free: 9.691 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test26 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.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.137196814175695]