Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.0008105/0.0008105, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001075/0.001885, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001015/0.001015, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001265/0.00228, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.008/1.008, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09689/1.105, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] 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.2454/0.2454, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02611/0.2715, allocations: 13.23 MB / 292.6 MB, free: 6.473 MB / 282.7 MB " [Timeout remaining time 180] 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 294 MB, free: 5.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.083e-05, allocations: 4.703 kB / 294 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002492/0.002513, allocations: 1.799 MB / 295.8 MB, free: 3.285 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00213/0.004644, allocations: 1.762 MB / 297.5 MB, free: 1.516 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.546e-05/0.004719, allocations: 7.938 kB / 297.5 MB, free: 1.508 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.004903, allocations: 31.83 kB / 297.6 MB, free: 1.477 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002623/0.005165, allocations: 103.3 kB / 297.7 MB, free: 1.375 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.005346, allocations: 83.66 kB / 297.7 MB, free: 1.293 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003167/0.008513, allocations: 103.6 kB / 297.8 MB, free: 1.191 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.195e-05/0.008595, allocations: 11.98 kB / 297.9 MB, free: 1.18 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.008736, allocations: 79.75 kB / 297.9 MB, free: 1.102 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.008853, allocations: 35.91 kB / 298 MB, free: 1.066 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.008871, allocations: 4 kB / 298 MB, free: 1.062 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.00908, allocations: 115.7 kB / 298.1 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.44e-05/0.009125, allocations: 11.94 kB / 298.1 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.368e-05/0.009158, allocations: 19.94 kB / 298.1 MB, free: 0.918 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.009409, allocations: 147.5 kB / 298.3 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.932e-05/0.009429, allocations: 0 / 298.3 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.00943, allocations: 0 / 298.3 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.009445, allocations: 0 / 298.3 MB, free: 0.7734 MB / 282.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.0004593/0.009904, allocations: 356.9 kB / 298.6 MB, free: 412 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.009935, allocations: 8.922 kB / 298.6 MB, free: 404 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.00997, allocations: 12.92 kB / 298.6 MB, free: 392 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.01014, allocations: 142.2 kB / 298.8 MB, free: 224 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.01015, allocations: 384 / 298.8 MB, free: 224 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.01017, allocations: 4.375 kB / 298.8 MB, free: 220 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.0103, allocations: 113.1 kB / 298.9 MB, free: 84 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.01031, allocations: 3.938 kB / 298.9 MB, free: 80 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.752e-06/0.01031, allocations: 0 / 298.9 MB, free: 80 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.01032, allocations: 0 / 298.9 MB, free: 80 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.177e-05/0.01035, allocations: 14.83 kB / 298.9 MB, free: 64 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002157/0.01057, allocations: 166 kB / 299.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.92e-05/0.01066, allocations: 85.3 kB / 299.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.459e-05/0.01068, allocations: 20.78 kB / 299.2 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.768e-06/0.01069, allocations: 4 kB / 299.2 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.603e-05/0.01079, allocations: 74.09 kB / 299.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.01079, allocations: 0 / 299.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002853/0.01107, allocations: 105.6 kB / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.0111, allocations: 51.41 kB / 299.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.01121, allocations: 152.3 kB / 299.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.01122, allocations: 33.69 kB / 299.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.119e-05/0.01125, allocations: 92.12 kB / 299.7 MB, free: 15.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.01128, allocations: 27.73 kB / 299.7 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.01132, allocations: 21.7 kB / 299.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.003089/0.01441, allocations: 330.8 kB / 300 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.038e-05/0.01443, allocations: 10.83 kB / 300.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.166e-05/0.01447, allocations: 60.19 kB / 300.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.821e-05/0.01452, allocations: 44.53 kB / 300.2 MB, free: 14.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.01452, allocations: 0 / 300.2 MB, free: 14.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.233e-05/0.01461, allocations: 76.36 kB / 300.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.01463, allocations: 4 kB / 300.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.01463, allocations: 4 kB / 300.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.01464, allocations: 3.984 kB / 300.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.829e-05/0.01471, allocations: 16.06 kB / 300.3 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.01471, allocations: 4 kB / 300.3 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.551e-05/0.01475, allocations: 4 kB / 300.3 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.01476, allocations: 11.97 kB / 300.3 MB, free: 14.55 MB / 298.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 7.09e-05/0.01483, allocations: 120.6 kB / 300.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.581e-05/0.01484, allocations: 7.938 kB / 300.4 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.01495, allocations: 71.38 kB / 300.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.01496, allocations: 4 kB / 300.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.01496, allocations: 0 / 300.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.01496, allocations: 0 / 300.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/0.0152, allocations: 295.8 kB / 300.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.0152, allocations: 0 / 300.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.93e-05/0.01524, allocations: 19.94 kB / 300.8 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.367e-05/0.01526, allocations: 7.953 kB / 300.8 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.01526, allocations: 0 / 300.8 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.01527, allocations: 11.98 kB / 300.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.01527, allocations: 0 / 300.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01527, allocations: 0 / 300.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.01539, allocations: 219 kB / 301 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.01541, allocations: 8.031 kB / 301 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.723e-05/0.01547, allocations: 4 kB / 301 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.354e-05/0.01549, allocations: 7.984 kB / 301 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.0155, allocations: 4 kB / 301 MB, free: 13.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.477e-05/0.01555, allocations: 44.86 kB / 301.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01555, allocations: 0 / 301.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002311/0.01578, allocations: 51.8 kB / 301.1 MB, free: 13.63 MB / 298.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.004848/0.02063, allocations: 0.7684 MB / 301.9 MB, free: 13.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001029/0.02073, allocations: 44.77 kB / 301.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/0.02074, allocations: 4 kB / 302 MB, free: 13.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.109e-05/0.02077, allocations: 24.78 kB / 302 MB, free: 13.17 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.02098, allocations: 49.36 kB / 302 MB, free: 13.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004778/0.02146, allocations: 200.4 kB / 302.2 MB, free: 12.9 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.155e-05/0.0215, allocations: 67.34 kB / 302.3 MB, free: 12.81 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.024e-05/0.02155, allocations: 16.95 kB / 302.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.512e-05/0.02164, allocations: 75.36 kB / 302.4 MB, free: 12.72 MB / 298.7 MB Notification: Performance of SimCode: time 8.22e-07/0.02164, allocations: 0 / 302.4 MB, free: 12.72 MB / 298.7 MB Notification: Performance of Templates: time 0.01075/0.03239, allocations: 2.809 MB / 305.2 MB, free: 9.941 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.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.0004203720018268]