Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.001453/0.001453, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001633/0.001633, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.571/1.571, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.3313/0.3313, allocations: 32.8 MB / 293.9 MB, free: 1.199 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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.185e-06/2.185e-06, allocations: 0 / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.26e-05/4.479e-05, allocations: 6.25 kB / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.004178/0.004223, allocations: 1.65 MB / 376.9 MB, free: 3.301 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.00558, allocations: 0.5647 MB / 377.5 MB, free: 2.73 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.24e-05/0.005672, allocations: 0 / 377.5 MB, free: 2.73 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000727/0.006399, allocations: 455 kB / 377.9 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000611/0.00701, allocations: 303.1 kB / 378.2 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005196/0.00753, allocations: 171.5 kB / 378.4 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003566/0.007887, allocations: 171.7 kB / 378.6 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.007992, allocations: 12 kB / 378.6 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.008159, allocations: 119.8 kB / 378.7 MB, free: 1.523 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002999/0.008459, allocations: 243.5 kB / 378.9 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.008484, allocations: 4 kB / 378.9 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.00861, allocations: 35.91 kB / 379 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.00874, allocations: 91.66 kB / 379.1 MB, free: 1.156 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.338e-05/0.008804, allocations: 35.75 kB / 379.1 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003593/0.009163, allocations: 239.1 kB / 379.3 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.009166, allocations: 0 / 379.3 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.009167, allocations: 0 / 379.3 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.009172, allocations: 0 / 379.3 MB, free: 0.8867 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.0008504/0.01002, allocations: 0.5814 MB / 379.9 MB, free: 280 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.01006, allocations: 12.03 kB / 379.9 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.797e-05/0.01016, allocations: 48.66 kB / 380 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/0.0105, allocations: 244.5 kB / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.01051, allocations: 384 / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/0.01054, allocations: 8.375 kB / 380.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.01071, allocations: 54.23 kB / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.01072, allocations: 8.141 kB / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.01074, allocations: 1.688 kB / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.01074, allocations: 0 / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.01085, allocations: 31.92 kB / 380.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005333/0.01138, allocations: 336.4 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.01165, allocations: 46.5 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.208e-05/0.01171, allocations: 20.94 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.01173, allocations: 0 / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.01177, allocations: 34.56 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.01177, allocations: 0 / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007532/0.01252, allocations: 248.7 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.01257, allocations: 51.41 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.01361, allocations: 0.8652 MB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.01363, allocations: 29.7 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000207/0.01384, allocations: 216 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.01386, allocations: 11.84 kB / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.673e-05/0.01391, allocations: 21.7 kB / 382.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000221/0.01413, allocations: 362.8 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.884e-05/0.01421, allocations: 19.98 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.269e-05/0.01428, allocations: 23.97 kB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.01445, allocations: 52.83 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.01445, allocations: 4 kB / 382.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000242/0.01469, allocations: 121.4 kB / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.0147, allocations: 11.98 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.01471, allocations: 7.922 kB / 382.8 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.01473, allocations: 0 / 382.8 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.598e-05/0.0148, allocations: 8 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.0148, allocations: 4 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.774e-05/0.01486, allocations: 8.172 kB / 382.8 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.01487, allocations: 4 kB / 382.8 MB, free: 13.25 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 0.0002274/0.0151, allocations: 217.8 kB / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/0.01531, allocations: 47.72 kB / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003238/0.01563, allocations: 145.1 kB / 383.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.01564, allocations: 4 kB / 383.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.01564, allocations: 0 / 383.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.01564, allocations: 0 / 383.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005919/0.01624, allocations: 406.1 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01624, allocations: 4 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.204e-05/0.01632, allocations: 23.86 kB / 383.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.01632, allocations: 0 / 383.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.01633, allocations: 4 kB / 383.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01633, allocations: 0 / 383.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01633, allocations: 0 / 383.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.01664, allocations: 215.2 kB / 383.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.421e-05/0.01669, allocations: 39.66 kB / 383.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.01672, allocations: 0 / 383.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.513e-05/0.01682, allocations: 15.98 kB / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.01685, allocations: 0 / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.01686, allocations: 4 kB / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000769/0.01763, allocations: 0.6511 MB / 384.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01763, allocations: 0 / 384.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002711/0.0179, allocations: 24 kB / 384.6 MB, free: 11.41 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.002011/0.01991, allocations: 442.2 kB / 385 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.02014, allocations: 55.97 kB / 385 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.02014, allocations: 0 / 385 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.679e-05/0.02024, allocations: 27.97 kB / 385.1 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.02066, allocations: 29.89 kB / 385.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.02204, allocations: 0.8227 MB / 385.9 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.02233, allocations: 224.1 kB / 386.1 MB, free: 9.957 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.851e-05/0.0224, allocations: 19.97 kB / 386.2 MB, free: 9.938 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.511e-05/0.02244, allocations: 20.48 kB / 386.2 MB, free: 9.918 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.02244, allocations: 0 / 386.2 MB, free: 9.918 MB / 362.7 MB Notification: Performance of Templates: time 0.0054/0.02784, allocations: 1.365 MB / 387.5 MB, free: 8.559 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.8079841929720715]