Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.001514/0.001514, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001366/0.001366, allocations: 165.9 kB / 24.99 MB, free: 8.336 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 1.055/1.055, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2974/0.2974, allocations: 32.8 MB / 294.6 MB, free: 1.289 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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,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.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 376 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.735e-05/2.886e-05, allocations: 2.312 kB / 376 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.002369/0.002398, allocations: 1.655 MB / 377.7 MB, free: 3.324 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007734/0.003171, allocations: 0.5453 MB / 378.2 MB, free: 2.773 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.732e-05/0.003239, allocations: 7.938 kB / 378.2 MB, free: 2.766 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002729/0.003512, allocations: 71.7 kB / 378.3 MB, free: 2.695 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003097/0.003821, allocations: 107.5 kB / 378.4 MB, free: 2.59 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.004089, allocations: 107.7 kB / 378.5 MB, free: 2.484 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.004258, allocations: 91.69 kB / 378.6 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.004396, allocations: 15.98 kB / 378.6 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.682e-05/0.004463, allocations: 43.89 kB / 378.7 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.004567, allocations: 55.88 kB / 378.7 MB, free: 2.281 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.004584, allocations: 4 kB / 378.7 MB, free: 2.277 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.876e-05/0.004683, allocations: 43.92 kB / 378.8 MB, free: 2.234 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.647e-05/0.004739, allocations: 23.91 kB / 378.8 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.214e-05/0.004771, allocations: 11.94 kB / 378.8 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.004958, allocations: 99.53 kB / 378.9 MB, free: 2.102 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.004961, allocations: 0 / 378.9 MB, free: 2.102 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.004963, allocations: 0 / 378.9 MB, free: 2.102 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.004968, allocations: 4 kB / 378.9 MB, free: 2.098 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.0004447/0.005413, allocations: 439.9 kB / 379.3 MB, free: 1.633 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.005455, allocations: 12.03 kB / 379.3 MB, free: 1.621 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.952e-05/0.005505, allocations: 12.84 kB / 379.3 MB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.005675, allocations: 149.1 kB / 379.5 MB, free: 1.434 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.005687, allocations: 4.375 kB / 379.5 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.00571, allocations: 4.375 kB / 379.5 MB, free: 1.426 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.005842, allocations: 62.88 kB / 379.6 MB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.005853, allocations: 192 / 379.6 MB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.005863, allocations: 4.125 kB / 379.6 MB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.005873, allocations: 8 kB / 379.6 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.783e-05/0.005911, allocations: 7.984 kB / 379.6 MB, free: 1.336 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003423/0.006253, allocations: 295.7 kB / 379.9 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.036e-05/0.006323, allocations: 43 kB / 379.9 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.624e-05/0.00635, allocations: 19.7 kB / 379.9 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.006372, allocations: 0 / 379.9 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.006393, allocations: 37.39 kB / 380 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.006394, allocations: 0 / 380 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005997/0.006994, allocations: 181.2 kB / 380.1 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.007027, allocations: 51.41 kB / 380.2 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.007182, allocations: 242.3 kB / 380.4 MB, free: 396 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.007195, allocations: 29.7 kB / 380.5 MB, free: 360 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.879e-05/0.007254, allocations: 154.9 kB / 380.6 MB, free: 200 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.00728, allocations: 27.75 kB / 380.6 MB, free: 172 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.007316, allocations: 31.36 kB / 380.7 MB, free: 132 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.007458, allocations: 0.5 MB / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.284e-05/0.00748, allocations: 4 kB / 381.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.056e-05/0.007501, allocations: 11.98 kB / 381.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.428e-05/0.007555, allocations: 39.91 kB / 381.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.007556, allocations: 0 / 381.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.214e-05/0.007648, allocations: 81.58 kB / 381.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.007667, allocations: 4 kB / 381.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.007672, allocations: 0 / 381.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.007688, allocations: 7.938 kB / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.071e-05/0.007769, allocations: 19.98 kB / 381.3 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.007776, allocations: 0 / 381.3 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.045e-05/0.007796, allocations: 4 kB / 381.3 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.007803, allocations: 0 / 381.3 MB, free: 15.44 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 8.715e-05/0.00789, allocations: 168.5 kB / 381.5 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.007913, allocations: 11.91 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001618/0.008075, allocations: 95.06 kB / 381.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.008078, allocations: 0 / 381.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.008081, allocations: 0 / 381.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.008086, allocations: 0 / 381.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003355/0.008421, allocations: 377 kB / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.008424, allocations: 4 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.945e-05/0.008474, allocations: 12 kB / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.008476, allocations: 0 / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.008487, allocations: 8.016 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.008488, allocations: 4 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.00849, allocations: 0 / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.008648, allocations: 243.4 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.134e-05/0.008659, allocations: 7.953 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.008673, allocations: 3.938 kB / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.912e-05/0.008712, allocations: 7.984 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.008755, allocations: 11.94 kB / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.008759, allocations: 0 / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.466e-05/0.008854, allocations: 171.1 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008854, allocations: 0 / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001853/0.009039, allocations: 27.94 kB / 382.5 MB, free: 14.22 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.0009908/0.01003, allocations: 445.5 kB / 382.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001099/0.01014, allocations: 43.61 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01014, allocations: 0 / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.407e-05/0.01018, allocations: 31.61 kB / 383 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.01041, allocations: 23.94 kB / 383 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004105/0.01082, allocations: 241.9 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.438e-05/0.01088, allocations: 71.33 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.597e-05/0.01093, allocations: 17.02 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.69e-05/0.01097, allocations: 20.48 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01097, allocations: 0 / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of Templates: time 0.003423/0.01439, allocations: 1.403 MB / 384.7 MB, free: 12.06 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.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.3153236631769687]