Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.0009241/0.0009241, 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.001023/0.001023, allocations: 174.1 kB / 24.82 MB, free: 8.934 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.9098/0.9098, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.2276/0.2276, allocations: 32.81 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.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.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 376.5 MB, free: 4.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.736e-05/1.885e-05, allocations: 5.266 kB / 376.5 MB, free: 4.406 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.002904/0.002923, allocations: 1.649 MB / 378.2 MB, free: 2.742 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.004034, allocations: 0.5375 MB / 378.7 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.39e-05/0.004108, allocations: 0 / 378.7 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000279/0.004387, allocations: 83.62 kB / 378.8 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003106/0.004698, allocations: 95.59 kB / 378.9 MB, free: 2.023 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003116/0.005009, allocations: 119.6 kB / 379 MB, free: 1.906 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.00517, allocations: 87.75 kB / 379.1 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.241e-05/0.005262, allocations: 11.98 kB / 379.1 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.884e-05/0.005341, allocations: 47.83 kB / 379.1 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.005442, allocations: 55.86 kB / 379.2 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.005456, allocations: 4 kB / 379.2 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.979e-05/0.005546, allocations: 43.92 kB / 379.2 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.532e-05/0.005591, allocations: 23.91 kB / 379.2 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.72e-05/0.005618, allocations: 15.94 kB / 379.3 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.005775, allocations: 99.59 kB / 379.4 MB, free: 1.523 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.185e-06/0.005777, allocations: 0 / 379.4 MB, free: 1.523 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.005778, allocations: 0 / 379.4 MB, free: 1.523 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.005784, allocations: 0 / 379.4 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.0005268/0.006311, allocations: 443.8 kB / 379.8 MB, free: 1.055 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.006349, allocations: 8.031 kB / 379.8 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.006386, allocations: 16.84 kB / 379.8 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.006519, allocations: 145.1 kB / 380 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.00653, allocations: 8.375 kB / 380 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.006546, allocations: 4.375 kB / 380 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.909e-05/0.006645, allocations: 62.94 kB / 380 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.006655, allocations: 4.188 kB / 380 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.006662, allocations: 4.125 kB / 380 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.006668, allocations: 0 / 380 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.744e-05/0.006695, allocations: 11.92 kB / 380.1 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002717/0.006967, allocations: 272.3 kB / 380.3 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.845e-05/0.007026, allocations: 39.05 kB / 380.4 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.007044, allocations: 11.69 kB / 380.4 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.007065, allocations: 3.938 kB / 380.4 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.007088, allocations: 41.41 kB / 380.4 MB, free: 352 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.007089, allocations: 4 kB / 380.4 MB, free: 348 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004735/0.007562, allocations: 157.4 kB / 380.6 MB, free: 184 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.007587, allocations: 51.41 kB / 380.6 MB, free: 120 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.007742, allocations: 226.3 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.007754, allocations: 29.7 kB / 380.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.564e-05/0.00782, allocations: 158.8 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.007849, allocations: 35.72 kB / 381.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.007891, allocations: 27.38 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.008018, allocations: 0.5001 MB / 381.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.95e-05/0.008038, allocations: 7.984 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.043e-05/0.008058, allocations: 8.078 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.09e-05/0.008109, allocations: 35.75 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.008111, allocations: 7.938 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.344e-05/0.008195, allocations: 73.62 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.008205, allocations: 4 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.008208, allocations: 0 / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.008219, allocations: 0 / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.562e-05/0.008274, allocations: 12 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.008278, allocations: 4 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.814e-05/0.008296, allocations: 7.984 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-06/0.008301, allocations: 4 kB / 381.8 MB, free: 14.93 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.82e-05/0.008359, allocations: 164.5 kB / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.00838, allocations: 15.91 kB / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.008485, allocations: 79.14 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.008487, allocations: 3.984 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.008488, allocations: 0 / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.008491, allocations: 3.938 kB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.008764, allocations: 353.6 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.008765, allocations: 4.031 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.79e-05/0.008803, allocations: 23.92 kB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.008805, allocations: 0 / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.008811, allocations: 4 kB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.008812, allocations: 0 / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.008813, allocations: 0 / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.00892, allocations: 235.5 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.043e-05/0.00893, allocations: 11.91 kB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.008941, allocations: 0 / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.536e-05/0.008976, allocations: 4 kB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/0.008999, allocations: 11.92 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.009004, allocations: 8 kB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.779e-05/0.009062, allocations: 159.1 kB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009062, allocations: 0 / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001598/0.009222, allocations: 27.92 kB / 382.8 MB, free: 13.77 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.001088/0.01031, allocations: 443.1 kB / 383.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.547e-05/0.01038, allocations: 31.67 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.01039, allocations: 0 / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.611e-05/0.01041, allocations: 35.59 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.01062, allocations: 23.98 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002933/0.01091, allocations: 221.9 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.289e-05/0.01096, allocations: 79.27 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.597e-05/0.01099, allocations: 13.03 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.634e-05/0.01105, allocations: 82.19 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01105, allocations: 4.062 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of Templates: time 0.002918/0.01397, allocations: 1.537 MB / 385.3 MB, free: 11.43 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/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.744633622933179]