Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001481/0.001481, allocations: 92.27 kB / 20.96 MB, free: 3.445 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.001753/0.001753, allocations: 152.9 kB / 24.26 MB, free: 148 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.545/1.545, allocations: 177 MB / 204.5 MB, free: 5.613 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.363/0.363, allocations: 34.25 MB / 295.2 MB, free: 0.6562 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.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.484e-05/3.682e-05, allocations: 5.547 kB / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003259/0.003295, allocations: 1.603 MB / 378.8 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002188/0.005483, allocations: 1.254 MB / 380.1 MB, free: 12 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.646e-05/0.00554, allocations: 0 / 380.1 MB, free: 12 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002983/0.005838, allocations: 35.81 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003527/0.006191, allocations: 83.5 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.006505, allocations: 111.6 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.00667, allocations: 71.77 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.225e-05/0.006762, allocations: 11.98 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.175e-05/0.006844, allocations: 35.84 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.006963, allocations: 19.97 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.006983, allocations: 4 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.007164, allocations: 95.77 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.612e-05/0.00722, allocations: 15.97 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.094e-05/0.007261, allocations: 11.94 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002959/0.007557, allocations: 155.5 kB / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.00756, allocations: 0 / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.007562, allocations: 0 / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.007566, allocations: 0 / 380.7 MB, free: 15.37 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005761/0.008142, allocations: 325.7 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.008177, allocations: 8.031 kB / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.884e-05/0.008236, allocations: 12.89 kB / 381.1 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.008459, allocations: 133.7 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.00847, allocations: 384 / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.008497, allocations: 4.375 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.008695, allocations: 97.59 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.008705, allocations: 192 / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.008715, allocations: 384 / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.008723, allocations: 4.375 kB / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.008838, allocations: 27.91 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.009254, allocations: 228.5 kB / 381.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.009488, allocations: 50.58 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.976e-05/0.009547, allocations: 16.84 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.009567, allocations: 4 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.009603, allocations: 34.56 kB / 381.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.009604, allocations: 0 / 381.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006584/0.01026, allocations: 157.3 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.249e-05/0.01033, allocations: 77.11 kB / 381.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.01053, allocations: 152.5 kB / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.01055, allocations: 33.7 kB / 382.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.069e-05/0.01062, allocations: 84.14 kB / 382.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.01065, allocations: 27.88 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.53e-05/0.0107, allocations: 17.72 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002104/0.01091, allocations: 322.8 kB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.225e-05/0.01099, allocations: 19.98 kB / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.0111, allocations: 63.34 kB / 382.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.01126, allocations: 48.83 kB / 382.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.01126, allocations: 0 / 382.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002407/0.0115, allocations: 97.58 kB / 382.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.01152, allocations: 4 kB / 382.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01152, allocations: 0 / 382.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.01154, allocations: 4 kB / 382.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.842e-05/0.01161, allocations: 12.23 kB / 382.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.01162, allocations: 3.938 kB / 382.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.371e-05/0.01167, allocations: 8 kB / 382.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-06/0.01168, allocations: 0 / 382.8 MB, free: 13.13 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.0001148/0.01179, allocations: 121.8 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.182e-05/0.01183, allocations: 15.89 kB / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002858/0.01212, allocations: 94.08 kB / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/0.01213, allocations: 7.984 kB / 383 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.01213, allocations: 0 / 383 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.01214, allocations: 0 / 383 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005057/0.01264, allocations: 302.1 kB / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01264, allocations: 0 / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.086e-05/0.0127, allocations: 12 kB / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.01271, allocations: 7.938 kB / 383.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.01272, allocations: 3.984 kB / 383.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.01272, allocations: 0 / 383.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.01272, allocations: 0 / 383.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.01303, allocations: 191.3 kB / 383.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.842e-05/0.01305, allocations: 7.953 kB / 383.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.01307, allocations: 0 / 383.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.024e-05/0.01315, allocations: 4 kB / 383.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.01319, allocations: 3.984 kB / 383.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.0132, allocations: 12 kB / 383.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001173/0.01331, allocations: 111.2 kB / 383.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01331, allocations: 0 / 383.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003255/0.01364, allocations: 39.88 kB / 383.7 MB, free: 12.14 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.002285/0.01593, allocations: 0.5226 MB / 384.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.01616, allocations: 51.95 kB / 384.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01616, allocations: 0 / 384.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.46e-05/0.01625, allocations: 31.92 kB / 384.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.01665, allocations: 26.73 kB / 384.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005149/0.01717, allocations: 180.4 kB / 384.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.735e-05/0.01726, allocations: 79.19 kB / 384.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.365e-05/0.01734, allocations: 15.97 kB / 384.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.827e-05/0.0174, allocations: 24.48 kB / 384.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of SimCode: time 7.62e-07/0.0174, allocations: 0 / 384.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of Templates: time 0.005493/0.02289, allocations: 1.838 MB / 386.4 MB, free: 9.52 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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.880678946967237]