Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.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.002694/0.002694, allocations: 107.5 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.003426/0.003426, allocations: 156.8 kB / 24.27 MB, free: 156 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.551/1.551, allocations: 177 MB / 204.5 MB, free: 5.617 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.3683/0.3683, allocations: 34.26 MB / 295.2 MB, free: 0.6289 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.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 377.3 MB, free: 2.809 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.441e-05/3.689e-05, allocations: 2.312 kB / 377.3 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003434/0.003471, allocations: 1.727 MB / 379 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.005429, allocations: 1.001 MB / 380 MB, free: 56 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.383e-05/0.005513, allocations: 4 kB / 380 MB, free: 52 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002735/0.005786, allocations: 35.72 kB / 380.1 MB, free: 16 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003621/0.006148, allocations: 99.47 kB / 380.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.006393, allocations: 79.66 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.006608, allocations: 107.6 kB / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.805e-05/0.006696, allocations: 11.98 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.006823, allocations: 51.89 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.661e-05/0.00691, allocations: 31.84 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.006934, allocations: 4 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.007045, allocations: 51.86 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.219e-05/0.007107, allocations: 19.92 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.494e-05/0.007152, allocations: 15.92 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.007414, allocations: 119.6 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.007416, allocations: 0 / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.007417, allocations: 0 / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.007421, allocations: 0 / 380.6 MB, free: 15.43 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006551/0.008077, allocations: 447.5 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.008112, allocations: 8.031 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.279e-05/0.008185, allocations: 12.89 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.00846, allocations: 156.3 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.008474, allocations: 4.375 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.008495, allocations: 4.375 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.008647, allocations: 58.23 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.008658, allocations: 192 / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.00867, allocations: 4.359 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.008676, allocations: 3.938 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.938e-05/0.008766, allocations: 19.98 kB / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004573/0.009223, allocations: 295.8 kB / 381.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.009425, allocations: 59.17 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.593e-05/0.009491, allocations: 27.67 kB / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.009508, allocations: 0 / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.009675, allocations: 80.92 kB / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.009676, allocations: 0 / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006117/0.01029, allocations: 173.3 kB / 382 MB, free: 13.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.01034, allocations: 59.39 kB / 382 MB, free: 13.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.01058, allocations: 242.5 kB / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.01061, allocations: 25.7 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.01072, allocations: 158.9 kB / 382.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.01076, allocations: 19.86 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-05/0.01082, allocations: 31.36 kB / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00028/0.0111, allocations: 0.504 MB / 383 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.706e-05/0.01115, allocations: 16 kB / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.044e-05/0.01124, allocations: 43.36 kB / 383.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.01138, allocations: 67.3 kB / 383.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.01138, allocations: 0 / 383.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002162/0.01159, allocations: 109.5 kB / 383.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.01161, allocations: 4 kB / 383.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.01161, allocations: 3.938 kB / 383.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.01163, allocations: 4 kB / 383.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.173e-05/0.01172, allocations: 19.97 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.01173, allocations: 160 / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.305e-05/0.01178, allocations: 11.94 kB / 383.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.01179, allocations: 0 / 383.3 MB, free: 12.58 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001387/0.01193, allocations: 172.5 kB / 383.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.01195, allocations: 11.89 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002759/0.01223, allocations: 119 kB / 383.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.01224, allocations: 4 kB / 383.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.01224, allocations: 384 / 383.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.01224, allocations: 0 / 383.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007822/0.01302, allocations: 416.9 kB / 384 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.01303, allocations: 11.98 kB / 384 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.446e-05/0.01307, allocations: 8 kB / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.01308, allocations: 0 / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.01309, allocations: 8 kB / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.01309, allocations: 0 / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.0131, allocations: 3.938 kB / 384 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003243/0.01342, allocations: 263.4 kB / 384.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.729e-05/0.01345, allocations: 19.89 kB / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.01347, allocations: 4 kB / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.644e-05/0.01354, allocations: 4.031 kB / 384.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.01358, allocations: 7.984 kB / 384.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/0.0136, allocations: 8 kB / 384.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001545/0.01376, allocations: 171.9 kB / 384.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01376, allocations: 0 / 384.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002729/0.01403, allocations: 23.98 kB / 384.5 MB, free: 11.27 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003365/0.0174, allocations: 486.4 kB / 385 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002335/0.01763, allocations: 75.53 kB / 385.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.01763, allocations: 0 / 385.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.388e-05/0.01773, allocations: 43.61 kB / 385.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.01811, allocations: 35.05 kB / 385.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005591/0.01867, allocations: 230.2 kB / 385.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.01879, allocations: 96.42 kB / 385.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.997e-05/0.01885, allocations: 17.27 kB / 385.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.771e-05/0.01889, allocations: 16.5 kB / 385.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01889, allocations: 0 / 385.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of Templates: time 0.005923/0.02482, allocations: 1.859 MB / 387.3 MB, free: 8.555 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.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.994850207003765]