Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.0009641/0.0009641, 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.001018/0.001018, allocations: 164.4 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.9397/0.9397, 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.25/0.25, allocations: 32.8 MB / 294.6 MB, free: 1.238 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.CombiTable1Dv.Test3,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.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,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.CombiTable1Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 376.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.896e-05/2.021e-05, allocations: 6.25 kB / 376.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002018/0.002039, allocations: 1.646 MB / 378.1 MB, free: 2.719 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009167/0.002955, allocations: 0.5375 MB / 378.7 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.179e-05/0.003007, allocations: 0 / 378.7 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002176/0.003225, allocations: 83.59 kB / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002274/0.003452, allocations: 95.64 kB / 378.9 MB, free: 2 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/0.003666, allocations: 119.5 kB / 379 MB, free: 1.883 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.003786, allocations: 83.75 kB / 379.1 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.686e-05/0.003863, allocations: 8 kB / 379.1 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.108e-05/0.003924, allocations: 43.88 kB / 379.1 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.839e-05/0.004003, allocations: 47.89 kB / 379.2 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.004015, allocations: 8 kB / 379.2 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.618e-05/0.004082, allocations: 43.92 kB / 379.2 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.632e-05/0.004118, allocations: 23.91 kB / 379.2 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.111e-05/0.004139, allocations: 11.94 kB / 379.2 MB, free: 1.617 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.004261, allocations: 95.59 kB / 379.3 MB, free: 1.523 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.423e-06/0.004263, allocations: 0 / 379.3 MB, free: 1.523 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004263, allocations: 0 / 379.3 MB, free: 1.523 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.965e-06/0.004266, allocations: 0 / 379.3 MB, free: 1.523 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.0003208/0.004587, allocations: 439.9 kB / 379.8 MB, free: 1.059 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.004618, allocations: 12.02 kB / 379.8 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.901e-05/0.004647, allocations: 16.88 kB / 379.8 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.004753, allocations: 148.4 kB / 379.9 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.066e-06/0.004761, allocations: 384 / 379.9 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.004776, allocations: 8.375 kB / 379.9 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.637e-05/0.004853, allocations: 54.94 kB / 380 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.004861, allocations: 192 / 380 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.004869, allocations: 8.125 kB / 380 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.004874, allocations: 4 kB / 380 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.009e-05/0.004894, allocations: 11.92 kB / 380 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002118/0.005106, allocations: 264.5 kB / 380.3 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.503e-05/0.005151, allocations: 39.05 kB / 380.3 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.545e-05/0.005167, allocations: 27.64 kB / 380.3 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.005184, allocations: 0 / 380.3 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.005203, allocations: 41.33 kB / 380.4 MB, free: 356 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 7.11e-07/0.005204, allocations: 0 / 380.4 MB, free: 356 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003713/0.005575, allocations: 145.4 kB / 380.5 MB, free: 204 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.005596, allocations: 55.41 kB / 380.6 MB, free: 136 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.005712, allocations: 238.4 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.00572, allocations: 25.7 kB / 380.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.71e-05/0.005767, allocations: 150.9 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.005788, allocations: 31.73 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/0.005818, allocations: 31.36 kB / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.00594, allocations: 0.4923 MB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.596e-05/0.005966, allocations: 7.984 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.51e-05/0.005981, allocations: 8.078 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.354e-05/0.006025, allocations: 43.73 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.006026, allocations: 3.938 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.773e-05/0.006104, allocations: 73.59 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.006113, allocations: 4 kB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.006117, allocations: 0 / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.006127, allocations: 4 kB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.298e-05/0.00619, allocations: 12 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.006193, allocations: 4 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.958e-05/0.006213, allocations: 7.922 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.006218, allocations: 4 kB / 381.7 MB, free: 14.94 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 6.151e-05/0.00628, allocations: 160.5 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.006299, allocations: 11.95 kB / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.006405, allocations: 79.12 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.006407, allocations: 4.422 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.006408, allocations: 4 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.00641, allocations: 0 / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.006649, allocations: 345.6 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.006651, allocations: 7.938 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.481e-05/0.006686, allocations: 23.91 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.006688, allocations: 0 / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-06/0.006693, allocations: 0 / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.006695, allocations: 8 kB / 382.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.006696, allocations: 0 / 382.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.819e-05/0.006794, allocations: 239.5 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.145e-06/0.006803, allocations: 11.94 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.006813, allocations: 4 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.161e-05/0.006845, allocations: 0 / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/0.006867, allocations: 15.92 kB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.006871, allocations: 4 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.147e-05/0.006923, allocations: 155.8 kB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006923, allocations: 0 / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001525/0.007075, allocations: 23.94 kB / 382.8 MB, free: 13.79 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.0008044/0.00788, allocations: 439.7 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.494e-05/0.007955, allocations: 43.58 kB / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.007956, allocations: 0 / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.33e-05/0.007979, allocations: 23.67 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.008171, allocations: 20 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002736/0.008444, allocations: 226.2 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.536e-05/0.00848, allocations: 63.34 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.289e-05/0.008513, allocations: 21.08 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.105e-05/0.008564, allocations: 86.19 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.008564, allocations: 0 / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of Templates: time 0.002707/0.01127, allocations: 1.546 MB / 385.2 MB, free: 11.45 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.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.791311124805361]