Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.001454/0.001454, allocations: 83.58 kB / 21.19 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.001591/0.001591, allocations: 165 kB / 24.56 MB, free: 16 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.9707/0.9707, allocations: 177.1 MB / 205 MB, free: 5.289 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2839/0.2839, allocations: 34.25 MB / 295.7 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test16,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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 378.1 MB, free: 2.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.614e-05, allocations: 6.312 kB / 378.1 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.002531/0.002557, allocations: 1.656 MB / 379.7 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007886/0.003345, allocations: 0.5414 MB / 380.3 MB, free: 452 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.806e-05/0.003403, allocations: 11.94 kB / 380.3 MB, free: 440 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002603/0.003664, allocations: 75.7 kB / 380.3 MB, free: 364 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003098/0.003974, allocations: 107.5 kB / 380.5 MB, free: 256 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.004268, allocations: 107.7 kB / 380.6 MB, free: 148 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.004423, allocations: 83.77 kB / 380.6 MB, free: 64 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.2e-05/0.004515, allocations: 15.97 kB / 380.7 MB, free: 48 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.472e-05/0.004579, allocations: 39.91 kB / 380.7 MB, free: 8 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.004689, allocations: 55.92 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.004704, allocations: 8 kB / 380.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.41e-05/0.004788, allocations: 47.84 kB / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.739e-05/0.004835, allocations: 27.86 kB / 380.8 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.843e-05/0.004864, allocations: 15.94 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.005026, allocations: 91.59 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.005029, allocations: 0 / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.005031, allocations: 0 / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.005036, allocations: 0 / 380.9 MB, free: 15.77 MB / 362.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.0004062/0.005442, allocations: 443.9 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.005474, allocations: 8.031 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.447e-05/0.005519, allocations: 16.84 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.005661, allocations: 153.1 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.005672, allocations: 4.375 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.005691, allocations: 8.312 kB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.005803, allocations: 54.95 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.005812, allocations: 192 / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.005822, allocations: 8.125 kB / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.005829, allocations: 0 / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.972e-05/0.005859, allocations: 7.984 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003246/0.006184, allocations: 303.7 kB / 381.9 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.123e-05/0.006255, allocations: 50.97 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.348e-05/0.006278, allocations: 15.62 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.006295, allocations: 4 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.006316, allocations: 33.39 kB / 382 MB, free: 14.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.006317, allocations: 0 / 382 MB, free: 14.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005433/0.00686, allocations: 173.3 kB / 382.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.006894, allocations: 59.34 kB / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.007058, allocations: 238.4 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.007071, allocations: 33.7 kB / 382.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.463e-05/0.007126, allocations: 150.9 kB / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.007152, allocations: 27.73 kB / 382.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.007186, allocations: 31.38 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.00731, allocations: 0.4961 MB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.323e-05/0.007333, allocations: 15.98 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.626e-05/0.007349, allocations: 4 kB / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.109e-05/0.0074, allocations: 35.69 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.007402, allocations: 4 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.368e-05/0.007496, allocations: 81.59 kB / 383.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.00751, allocations: 11.98 kB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.007515, allocations: 7.938 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.007528, allocations: 0 / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-05/0.007596, allocations: 12 kB / 383.4 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.007602, allocations: 0 / 383.4 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.984e-05/0.007622, allocations: 7.984 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.007627, allocations: 0 / 383.4 MB, free: 13.09 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 7.427e-05/0.007702, allocations: 164.5 kB / 383.6 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.007723, allocations: 15.91 kB / 383.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001459/0.007869, allocations: 87.39 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.007871, allocations: 0 / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.007878, allocations: 7.984 kB / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.007881, allocations: 0 / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003136/0.008195, allocations: 381.1 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.008198, allocations: 0 / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.419e-05/0.008242, allocations: 15.98 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.008246, allocations: 0 / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.008255, allocations: 4 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.008257, allocations: 0 / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.008258, allocations: 0 / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.008403, allocations: 247.4 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.115e-05/0.008414, allocations: 11.98 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.008428, allocations: 4 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.236e-05/0.00846, allocations: 0 / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.008497, allocations: 15.92 kB / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.008503, allocations: 4 kB / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.792e-05/0.008581, allocations: 163.2 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008581, allocations: 4 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001724/0.008753, allocations: 19.94 kB / 384.5 MB, free: 11.89 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.0009611/0.009714, allocations: 440.4 kB / 384.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001254/0.00984, allocations: 51.58 kB / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.009842, allocations: 0 / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.164e-05/0.009873, allocations: 35.61 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.01008, allocations: 25.97 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003492/0.01043, allocations: 237.8 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.346e-05/0.01048, allocations: 71.33 kB / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.561e-05/0.01052, allocations: 21.08 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.945e-05/0.01055, allocations: 16.5 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01055, allocations: 0 / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of Templates: time 0.003539/0.01409, allocations: 1.502 MB / 386.9 MB, free: 9.621 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.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.2871295250952244]