Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.001253/0.001253, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009182/0.0009182, allocations: 170.3 kB / 24.82 MB, free: 9.266 MB / 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.9491/0.9491, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2126/0.2126, allocations: 32.81 MB / 294.6 MB, free: 1.168 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.Test30,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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 3.984 kB / 376.5 MB, free: 4.355 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.447e-05/1.692e-05, allocations: 9.203 kB / 376.5 MB, free: 4.348 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.00205/0.002067, allocations: 1.649 MB / 378.2 MB, free: 2.684 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00061/0.002677, allocations: 0.5259 MB / 378.7 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.925e-05/0.002726, allocations: 0 / 378.7 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002028/0.002929, allocations: 83.58 kB / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002165/0.003146, allocations: 99.58 kB / 378.9 MB, free: 1.973 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.003323, allocations: 103.6 kB / 379 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.003443, allocations: 79.81 kB / 379 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.438e-05/0.003528, allocations: 11.98 kB / 379.1 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.362e-05/0.003591, allocations: 47.83 kB / 379.1 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.728e-05/0.003678, allocations: 55.88 kB / 379.2 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.003691, allocations: 4 kB / 379.2 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.798e-05/0.003759, allocations: 43.92 kB / 379.2 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.807e-05/0.003797, allocations: 23.91 kB / 379.2 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.267e-05/0.00382, allocations: 19.88 kB / 379.2 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.003941, allocations: 83.72 kB / 379.3 MB, free: 1.508 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.302e-06/0.003942, allocations: 0 / 379.3 MB, free: 1.508 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.003943, allocations: 0 / 379.3 MB, free: 1.508 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.795e-06/0.003945, allocations: 4 kB / 379.3 MB, free: 1.504 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004354/0.004381, allocations: 443.8 kB / 379.8 MB, free: 1.035 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.004412, allocations: 12.03 kB / 379.8 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.825e-05/0.00444, allocations: 16.84 kB / 379.8 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.004544, allocations: 149.1 kB / 379.9 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.216e-06/0.004552, allocations: 4.375 kB / 379.9 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.004575, allocations: 8.312 kB / 379.9 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.683e-05/0.004652, allocations: 54.95 kB / 380 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.00466, allocations: 192 / 380 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-06/0.004667, allocations: 4.125 kB / 380 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.004674, allocations: 7.984 kB / 380 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.048e-05/0.004694, allocations: 7.938 kB / 380 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001962/0.00489, allocations: 276.3 kB / 380.3 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.447e-05/0.004935, allocations: 43.03 kB / 380.3 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.394e-05/0.004949, allocations: 15.62 kB / 380.3 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.004966, allocations: 0 / 380.3 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.004983, allocations: 41.33 kB / 380.4 MB, free: 324 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 5.21e-07/0.004984, allocations: 0 / 380.4 MB, free: 324 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003543/0.005338, allocations: 149.5 kB / 380.5 MB, free: 168 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.897e-05/0.005357, allocations: 51.41 kB / 380.6 MB, free: 104 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.005472, allocations: 230.3 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.00548, allocations: 29.7 kB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.49e-05/0.005535, allocations: 162.7 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.005557, allocations: 31.72 kB / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.005584, allocations: 27.38 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.891e-05/0.005683, allocations: 0.5001 MB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.203e-05/0.005695, allocations: 7.984 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.237e-05/0.005707, allocations: 8.078 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.425e-05/0.005742, allocations: 35.75 kB / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.005743, allocations: 3.938 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.265e-05/0.005806, allocations: 65.64 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.866e-06/0.005815, allocations: 12 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.005819, allocations: 3.984 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.005829, allocations: 0 / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.175e-05/0.005881, allocations: 12 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-06/0.005883, allocations: 0 / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.873e-05/0.005902, allocations: 11.98 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-06/0.005906, allocations: 0 / 381.7 MB, free: 14.91 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 5.489e-05/0.005961, allocations: 168.4 kB / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.035e-05/0.005981, allocations: 19.91 kB / 381.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.259e-05/0.006073, allocations: 75.14 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.006076, allocations: 4 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.006077, allocations: 0 / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.006081, allocations: 3.984 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.006301, allocations: 345.6 kB / 382.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.006302, allocations: 0 / 382.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.29e-05/0.006335, allocations: 23.92 kB / 382.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.006336, allocations: 0 / 382.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.907e-06/0.00634, allocations: 0 / 382.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.006343, allocations: 8 kB / 382.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.006344, allocations: 4.031 kB / 382.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.349e-05/0.006437, allocations: 227.5 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.026e-05/0.006447, allocations: 15.89 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.739e-06/0.006457, allocations: 4 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.221e-05/0.006489, allocations: 0 / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.199e-05/0.006511, allocations: 15.92 kB / 382.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.006515, allocations: 4 kB / 382.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.298e-05/0.006567, allocations: 159.1 kB / 382.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006568, allocations: 0 / 382.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001521/0.00672, allocations: 20 kB / 382.8 MB, free: 13.76 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.0009816/0.007701, allocations: 442.3 kB / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.075e-05/0.007772, allocations: 43.64 kB / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.007773, allocations: 3.938 kB / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.216e-05/0.007795, allocations: 23.69 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.007978, allocations: 15.98 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002663/0.008244, allocations: 229.8 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.731e-05/0.008281, allocations: 79.27 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.062e-05/0.008312, allocations: 21.08 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.113e-05/0.008363, allocations: 82.2 kB / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.008363, allocations: 0 / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of Templates: time 0.002635/0.011, allocations: 1.505 MB / 385.2 MB, free: 11.44 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.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: 2.8434513700194657]