Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.001364/0.001364, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001441/0.001441, allocations: 165.4 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.9906/0.9906, allocations: 177.2 MB / 205 MB, free: 5.277 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.3096/0.3096, allocations: 34.26 MB / 295.7 MB, free: 0.7188 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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 378.1 MB, free: 2.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.878e-05/3.046e-05, allocations: 2.312 kB / 378.1 MB, free: 2.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.006081/0.006111, allocations: 1.653 MB / 379.7 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009123/0.007024, allocations: 0.5492 MB / 380.3 MB, free: 432 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.771e-05/0.007092, allocations: 4 kB / 380.3 MB, free: 428 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003335/0.01043, allocations: 91.61 kB / 380.4 MB, free: 336 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003905/0.01082, allocations: 115.5 kB / 380.5 MB, free: 220 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003713/0.01119, allocations: 111.7 kB / 380.6 MB, free: 108 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.0114, allocations: 95.73 kB / 380.7 MB, free: 12 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.01152, allocations: 11.94 kB / 380.7 MB, free: 0 / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.01162, allocations: 47.88 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.01173, allocations: 55.88 kB / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.01175, allocations: 0 / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.01185, allocations: 43.92 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.277e-05/0.01191, allocations: 23.92 kB / 380.9 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.274e-05/0.01194, allocations: 15.92 kB / 380.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.01213, allocations: 95.55 kB / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.01214, allocations: 4 kB / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01214, allocations: 4 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.01214, allocations: 0 / 381 MB, free: 15.71 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.0004732/0.01262, allocations: 447.8 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.01266, allocations: 12.03 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.192e-05/0.01271, allocations: 12.89 kB / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.01287, allocations: 156.4 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.01288, allocations: 384 / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.0129, allocations: 4.375 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003139/0.01604, allocations: 62.88 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.01606, allocations: 4.188 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.01607, allocations: 8.125 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.01608, allocations: 0 / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.366e-05/0.01612, allocations: 11.98 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003839/0.01651, allocations: 299.7 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.327e-05/0.01659, allocations: 46.98 kB / 382 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.948e-05/0.01662, allocations: 19.62 kB / 382 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.01664, allocations: 0 / 382 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.01666, allocations: 33.39 kB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.01666, allocations: 0 / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006812/0.01735, allocations: 185.3 kB / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.01738, allocations: 51.41 kB / 382.3 MB, free: 14.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.01757, allocations: 249.9 kB / 382.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.01758, allocations: 25.7 kB / 382.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.384e-05/0.01765, allocations: 162.8 kB / 382.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.01768, allocations: 23.75 kB / 382.7 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/0.01773, allocations: 31.31 kB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.01787, allocations: 0.5078 MB / 383.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.775e-05/0.0179, allocations: 4 kB / 383.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.148e-05/0.01792, allocations: 12 kB / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.226e-05/0.01798, allocations: 39.73 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01798, allocations: 4 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001213/0.01811, allocations: 73.64 kB / 383.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.01812, allocations: 6.188 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.01813, allocations: 0 / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.01814, allocations: 4 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.359e-05/0.01824, allocations: 19.92 kB / 383.4 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.01824, allocations: 0 / 383.4 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.483e-05/0.01827, allocations: 0 / 383.4 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.01828, allocations: 8 kB / 383.5 MB, free: 13.02 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.993e-05/0.01836, allocations: 164.5 kB / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.01839, allocations: 11.91 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001791/0.01857, allocations: 91.44 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.01857, allocations: 0 / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.01857, allocations: 0 / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.01858, allocations: 3.938 kB / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0034/0.02198, allocations: 389 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.02198, allocations: 0 / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.047e-05/0.02205, allocations: 24.02 kB / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.02205, allocations: 4 kB / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.02206, allocations: 0 / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.02207, allocations: 3.938 kB / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.02207, allocations: 432 / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.02225, allocations: 247.4 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.342e-05/0.02226, allocations: 7.953 kB / 384.4 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.02228, allocations: 4 kB / 384.4 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.774e-05/0.02234, allocations: 7.984 kB / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/0.02239, allocations: 7.922 kB / 384.4 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.0224, allocations: 7.984 kB / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001102/0.02251, allocations: 179.2 kB / 384.6 MB, free: 11.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02251, allocations: 0 / 384.6 MB, free: 11.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000261/0.02277, allocations: 23.94 kB / 384.6 MB, free: 11.79 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.001206/0.02398, allocations: 421.5 kB / 385 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001478/0.02412, allocations: 51.58 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.02413, allocations: 0 / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.83e-05/0.02417, allocations: 27.69 kB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.02448, allocations: 23.98 kB / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003505/0.02798, allocations: 257.6 kB / 385.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.691e-05/0.02804, allocations: 71.33 kB / 385.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.523e-05/0.02811, allocations: 17.02 kB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.917e-05/0.02815, allocations: 16.5 kB / 385.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of SimCode: time 1.172e-06/0.02815, allocations: 0 / 385.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of Templates: time 0.007725/0.03587, allocations: 1.523 MB / 387 MB, free: 9.504 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.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.268413085024804]