Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.00243/0.00243, allocations: 99.55 kB / 20.97 MB, free: 3.453 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.001999/0.001999, allocations: 156.8 kB / 24.27 MB, free: 160 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.612/1.612, allocations: 177 MB / 204.5 MB, free: 5.625 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.3672/0.3672, allocations: 34.25 MB / 295.2 MB, free: 0.6328 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 377.3 MB, free: 2.805 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.594e-05, allocations: 2.312 kB / 377.3 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003203/0.003229, allocations: 1.738 MB / 379 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002132/0.005361, allocations: 0.997 MB / 380 MB, free: 48 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.201e-05/0.005423, allocations: 0 / 380 MB, free: 48 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.0057, allocations: 47.64 kB / 380.1 MB, free: 0 / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003431/0.006043, allocations: 91.59 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.006257, allocations: 79.66 kB / 380.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.006455, allocations: 111.6 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.631e-05/0.006541, allocations: 7.984 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.006659, allocations: 47.91 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.00676, allocations: 35.83 kB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.006783, allocations: 7.938 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.006888, allocations: 43.92 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.339e-05/0.006941, allocations: 11.94 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.219e-05/0.006993, allocations: 23.91 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.007227, allocations: 119.6 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.00723, allocations: 0 / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.007231, allocations: 0 / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.007236, allocations: 0 / 380.7 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.0006537/0.00789, allocations: 451.5 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.007929, allocations: 8.031 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.171e-05/0.007991, allocations: 16.83 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.008237, allocations: 148.4 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.00825, allocations: 384 / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.008272, allocations: 8.375 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.008413, allocations: 50.23 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.008425, allocations: 4.188 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.008433, allocations: 384 / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.00844, allocations: 7.875 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.95e-05/0.008519, allocations: 19.98 kB / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.008964, allocations: 295.8 kB / 381.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.00915, allocations: 59.17 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.233e-05/0.009212, allocations: 23.67 kB / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.009227, allocations: 0 / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/0.009392, allocations: 80.92 kB / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.009393, allocations: 4 kB / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000597/0.00999, allocations: 177.3 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.01004, allocations: 55.41 kB / 382 MB, free: 13.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.01029, allocations: 246.5 kB / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.01031, allocations: 29.7 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.01042, allocations: 150.9 kB / 382.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.809e-05/0.01046, allocations: 23.84 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.647e-05/0.01052, allocations: 31.38 kB / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003007/0.01082, allocations: 0.5001 MB / 383 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.783e-05/0.01088, allocations: 15.98 kB / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.811e-05/0.01096, allocations: 43.36 kB / 383.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.01109, allocations: 75.28 kB / 383.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.01109, allocations: 0 / 383.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002035/0.0113, allocations: 102 kB / 383.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.01131, allocations: 7.938 kB / 383.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.01132, allocations: 0 / 383.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.01133, allocations: 4 kB / 383.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.674e-05/0.01143, allocations: 23.92 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.01143, allocations: 160 / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.887e-05/0.01148, allocations: 11.95 kB / 383.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.0115, allocations: 4.031 kB / 383.3 MB, free: 12.57 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.0001348/0.01163, allocations: 168.5 kB / 383.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.01166, allocations: 11.89 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.01193, allocations: 123 kB / 383.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.01194, allocations: 4 kB / 383.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.01194, allocations: 0 / 383.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.01195, allocations: 3.984 kB / 383.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005441/0.01249, allocations: 412.9 kB / 384 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.227e-06/0.01249, allocations: 4 kB / 384 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.343e-05/0.01254, allocations: 12.03 kB / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.01254, allocations: 0 / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.01255, allocations: 3.984 kB / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.01255, allocations: 7.938 kB / 384 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01256, allocations: 0 / 384 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.01287, allocations: 267.4 kB / 384.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.288e-05/0.01289, allocations: 11.91 kB / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.01292, allocations: 4 kB / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.681e-05/0.01298, allocations: 0 / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.01303, allocations: 11.98 kB / 384.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.01305, allocations: 4 kB / 384.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001524/0.0132, allocations: 179.8 kB / 384.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0132, allocations: 0 / 384.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002659/0.01346, allocations: 20 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.003413/0.01688, allocations: 492.7 kB / 385 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002245/0.0171, allocations: 75.53 kB / 385.1 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.0171, allocations: 0 / 385.1 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.77e-05/0.01719, allocations: 39.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.0003805/0.01757, allocations: 34.16 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.0005076/0.01808, allocations: 226.2 kB / 385.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.01819, allocations: 100.4 kB / 385.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.291e-05/0.01825, allocations: 21.27 kB / 385.5 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.475e-05/0.01829, allocations: 16.5 kB / 385.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01829, allocations: 0 / 385.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of Templates: time 0.005974/0.02426, allocations: 1.859 MB / 387.3 MB, free: 8.547 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.156260692048818]