Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001942/0.001942, allocations: 99.53 kB / 20.97 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002098/0.002098, allocations: 160.8 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.629/1.629, allocations: 177 MB / 204.5 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3528/0.3528, allocations: 34.26 MB / 295.2 MB, free: 0.6211 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 377.2 MB, free: 2.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.036e-05/3.247e-05, allocations: 2.312 kB / 377.2 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003129/0.003161, allocations: 1.633 MB / 378.9 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.00449, allocations: 0.5292 MB / 379.4 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.126e-05/0.004541, allocations: 4 kB / 379.4 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003397/0.004881, allocations: 115.6 kB / 379.5 MB, free: 0.582 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003395/0.00522, allocations: 135.4 kB / 379.6 MB, free: 460 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.00548, allocations: 95.62 kB / 379.7 MB, free: 364 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.005661, allocations: 95.8 kB / 379.8 MB, free: 268 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.005768, allocations: 11.98 kB / 379.8 MB, free: 256 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.005873, allocations: 59.8 kB / 379.9 MB, free: 196 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.006019, allocations: 83.89 kB / 380 MB, free: 112 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.00604, allocations: 4 kB / 380 MB, free: 108 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.827e-05/0.006139, allocations: 55.84 kB / 380 MB, free: 52 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.381e-05/0.006202, allocations: 27.92 kB / 380.1 MB, free: 24 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.385e-05/0.006236, allocations: 7.938 kB / 380.1 MB, free: 16 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.006474, allocations: 123.5 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.006476, allocations: 0 / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.006477, allocations: 0 / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.006481, allocations: 0 / 380.2 MB, free: 15.89 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.0006141/0.007095, allocations: 483.3 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.00713, allocations: 8.031 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.476e-05/0.007185, allocations: 16.84 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.007395, allocations: 156.3 kB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.007409, allocations: 8.375 kB / 380.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.007429, allocations: 4.375 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.007568, allocations: 50.23 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.007582, allocations: 4.172 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.007597, allocations: 384 / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.007602, allocations: 384 / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.95e-05/0.007691, allocations: 27.92 kB / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004452/0.008137, allocations: 315.7 kB / 381.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.00826, allocations: 51.05 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.734e-05/0.008308, allocations: 23.69 kB / 381.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.008331, allocations: 0 / 381.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.008367, allocations: 37.42 kB / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.22e-07/0.008368, allocations: 0 / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008446/0.009213, allocations: 217.1 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.009255, allocations: 51.41 kB / 381.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/0.009554, allocations: 290.8 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.009574, allocations: 33.7 kB / 381.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.009698, allocations: 174.8 kB / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.009737, allocations: 31.81 kB / 382.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/0.009786, allocations: 27.36 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002719/0.01006, allocations: 0.5118 MB / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.563e-05/0.01012, allocations: 19.98 kB / 382.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.527e-05/0.01018, allocations: 20.06 kB / 382.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.01032, allocations: 63.81 kB / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.01032, allocations: 0 / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002088/0.01053, allocations: 109.4 kB / 382.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.01054, allocations: 8 kB / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.01055, allocations: 0 / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.01056, allocations: 0 / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.285e-05/0.01065, allocations: 15.98 kB / 382.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.01066, allocations: 0 / 382.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.708e-05/0.0107, allocations: 4 kB / 382.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.0107, allocations: 4 kB / 382.9 MB, free: 12.96 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 0.0001207/0.01083, allocations: 160.6 kB / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.601e-05/0.01087, allocations: 23.84 kB / 383.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002636/0.01114, allocations: 123 kB / 383.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.01114, allocations: 0 / 383.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.01114, allocations: 0 / 383.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.01114, allocations: 0 / 383.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005729/0.01172, allocations: 421 kB / 383.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01172, allocations: 0 / 383.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.049e-05/0.01179, allocations: 23.98 kB / 383.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.01179, allocations: 0 / 383.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.0118, allocations: 8.031 kB / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.0118, allocations: 0 / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.0118, allocations: 0 / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/0.0121, allocations: 271.4 kB / 383.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.15e-05/0.01212, allocations: 11.91 kB / 383.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.01214, allocations: 0 / 383.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.95e-05/0.01221, allocations: 8 kB / 383.9 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.01224, allocations: 3.984 kB / 383.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.01225, allocations: 4 kB / 383.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001895/0.01244, allocations: 200.1 kB / 384.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01244, allocations: 4 kB / 384.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002338/0.01267, allocations: 19.94 kB / 384.2 MB, free: 11.62 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.003193/0.01587, allocations: 492.4 kB / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002079/0.01608, allocations: 71.59 kB / 384.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01608, allocations: 0 / 384.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.709e-05/0.01616, allocations: 39.61 kB / 384.8 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.0165, allocations: 27.94 kB / 384.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005517/0.01705, allocations: 275.2 kB / 385 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.01717, allocations: 105.2 kB / 385.2 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.969e-05/0.01722, allocations: 13.03 kB / 385.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.773e-05/0.01725, allocations: 16.5 kB / 385.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01725, allocations: 0 / 385.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of Templates: time 0.004968/0.02222, allocations: 1.396 MB / 386.6 MB, free: 9.32 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.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: 5.049176569911651]