Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.001043/0.001043, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.0009645/0.0009645, allocations: 161 kB / 24.56 MB, free: 12 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.9874/0.9874, allocations: 177.1 MB / 205 MB, free: 5.613 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.2836/0.2836, allocations: 32.81 MB / 294.3 MB, free: 1.273 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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.941e-05/3.108e-05, allocations: 2.312 kB / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002611/0.002642, allocations: 1.64 MB / 377.7 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008081/0.00345, allocations: 0.5259 MB / 378.2 MB, free: 2.465 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.952e-05/0.00352, allocations: 0 / 378.2 MB, free: 2.465 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002297/0.00375, allocations: 35.77 kB / 378.2 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003215/0.004071, allocations: 71.58 kB / 378.3 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.004321, allocations: 99.62 kB / 378.4 MB, free: 2.262 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.004493, allocations: 71.75 kB / 378.5 MB, free: 2.191 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.91e-05/0.004592, allocations: 4 kB / 378.5 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6e-05/0.004652, allocations: 27.92 kB / 378.5 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.79e-05/0.00471, allocations: 15.98 kB / 378.5 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.004726, allocations: 7.938 kB / 378.5 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.054e-05/0.004806, allocations: 39.84 kB / 378.6 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.69e-05/0.004853, allocations: 11.98 kB / 378.6 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.022e-05/0.004883, allocations: 11.94 kB / 378.6 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.005038, allocations: 71.73 kB / 378.6 MB, free: 2.004 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.005041, allocations: 4 kB / 378.7 MB, free: 2 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.005042, allocations: 0 / 378.7 MB, free: 2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.005048, allocations: 0 / 378.7 MB, free: 2 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.0004056/0.005454, allocations: 408.2 kB / 379.1 MB, free: 1.566 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.0055, allocations: 8.031 kB / 379.1 MB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.005549, allocations: 12.89 kB / 379.1 MB, free: 1.547 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.005735, allocations: 132.5 kB / 379.2 MB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.00575, allocations: 4.375 kB / 379.2 MB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.511e-05/0.005785, allocations: 384 / 379.2 MB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.005942, allocations: 54.95 kB / 379.3 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.005957, allocations: 192 / 379.3 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.005971, allocations: 8.125 kB / 379.3 MB, free: 1.316 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.005981, allocations: 0 / 379.3 MB, free: 1.316 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.991e-05/0.006021, allocations: 15.98 kB / 379.3 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000377/0.006398, allocations: 275.7 kB / 379.6 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.006609, allocations: 39.06 kB / 379.6 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.998e-05/0.006639, allocations: 19.75 kB / 379.6 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.006666, allocations: 3.938 kB / 379.6 MB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.006693, allocations: 33.39 kB / 379.6 MB, free: 0.875 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.006694, allocations: 0 / 379.6 MB, free: 0.875 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000384/0.007078, allocations: 105.4 kB / 379.7 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.00711, allocations: 55.41 kB / 379.8 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.007226, allocations: 200.3 kB / 380 MB, free: 500 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.007236, allocations: 25.7 kB / 380 MB, free: 468 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.476e-05/0.007291, allocations: 138.9 kB / 380.2 MB, free: 324 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.007317, allocations: 31.72 kB / 380.2 MB, free: 292 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.00735, allocations: 19.38 kB / 380.2 MB, free: 264 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.00748, allocations: 0.4923 MB / 380.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.182e-05/0.007502, allocations: 8 kB / 380.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.394e-05/0.007516, allocations: 4 kB / 380.7 MB, free: 15.74 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.019e-05/0.007556, allocations: 23.67 kB / 380.7 MB, free: 15.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.007558, allocations: 4 kB / 380.7 MB, free: 15.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.984e-05/0.007637, allocations: 61.78 kB / 380.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.00765, allocations: 4 kB / 380.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.007655, allocations: 0 / 380.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.007674, allocations: 11.92 kB / 380.8 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.299e-05/0.007727, allocations: 15.94 kB / 380.8 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.007733, allocations: 0 / 380.8 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.823e-05/0.007751, allocations: 4 kB / 380.8 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.007756, allocations: 0 / 380.8 MB, free: 15.61 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 6.643e-05/0.007822, allocations: 156.6 kB / 381 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.007846, allocations: 19.89 kB / 381 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.007972, allocations: 62.16 kB / 381.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.007974, allocations: 0 / 381.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.00798, allocations: 3.984 kB / 381.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.007983, allocations: 0 / 381.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002386/0.008221, allocations: 321.4 kB / 381.4 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.008223, allocations: 0 / 381.4 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.96e-05/0.008263, allocations: 11.98 kB / 381.4 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.008265, allocations: 0 / 381.4 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.008273, allocations: 4 kB / 381.4 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.008275, allocations: 4 kB / 381.4 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.008277, allocations: 0 / 381.4 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.008389, allocations: 211.8 kB / 381.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.869e-06/0.008398, allocations: 7.953 kB / 381.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.008411, allocations: 256 / 381.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.798e-05/0.008449, allocations: 7.984 kB / 381.6 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.008485, allocations: 4 kB / 381.6 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.008489, allocations: 4 kB / 381.6 MB, free: 14.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.102e-05/0.00856, allocations: 149.6 kB / 381.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00856, allocations: 4 kB / 381.8 MB, free: 14.58 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001765/0.008737, allocations: 12 kB / 381.8 MB, free: 14.57 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.0009997/0.009736, allocations: 390.9 kB / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001008/0.009837, allocations: 31.61 kB / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.009839, allocations: 4 kB / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.097e-05/0.00986, allocations: 19.62 kB / 382.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.01009, allocations: 31.53 kB / 382.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003433/0.01044, allocations: 170.6 kB / 382.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.711e-05/0.01047, allocations: 59.34 kB / 382.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.407e-05/0.01051, allocations: 11.98 kB / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.032e-05/0.01054, allocations: 12.5 kB / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01054, allocations: 4 kB / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of Templates: time 0.003279/0.01382, allocations: 1.156 MB / 383.7 MB, free: 12.78 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.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.4106890498660505]