Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.000815/0.000815, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001232/0.002047, 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.000729/0.000729, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009907/0.00172, 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 0.9725/0.9725, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09279/1.065, allocations: 53.87 MB / 243.7 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.2554/0.2554, allocations: 34.86 MB / 279.4 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02699/0.2824, allocations: 13.23 MB / 292.6 MB, free: 6.465 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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 293.9 MB, free: 5.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.881e-05/2.006e-05, allocations: 4.422 kB / 294 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002045/0.002065, allocations: 1.76 MB / 295.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.003238, allocations: 1.009 MB / 296.7 MB, free: 2.312 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.839e-05/0.003307, allocations: 0 / 296.7 MB, free: 2.312 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001849/0.003492, allocations: 63.67 kB / 296.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002193/0.003711, allocations: 111.5 kB / 296.9 MB, free: 2.141 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.003868, allocations: 75.66 kB / 297 MB, free: 2.066 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000142/0.00401, allocations: 103.6 kB / 297.1 MB, free: 1.965 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.328e-05/0.004043, allocations: 12.22 kB / 297.1 MB, free: 1.953 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.004164, allocations: 83.75 kB / 297.2 MB, free: 1.871 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.504e-05/0.004249, allocations: 43.88 kB / 297.2 MB, free: 1.828 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.004262, allocations: 4 kB / 297.2 MB, free: 1.824 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.092e-05/0.004333, allocations: 27.94 kB / 297.2 MB, free: 1.797 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.352e-05/0.004376, allocations: 19.92 kB / 297.3 MB, free: 1.777 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.004408, allocations: 15.94 kB / 297.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.004554, allocations: 83.62 kB / 297.4 MB, free: 1.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.24e-05/0.004567, allocations: 0 / 297.4 MB, free: 1.68 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.004568, allocations: 0 / 297.4 MB, free: 1.68 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.004578, allocations: 4 kB / 297.4 MB, free: 1.676 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003813/0.004959, allocations: 325.2 kB / 297.7 MB, free: 1.336 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.00499, allocations: 12.92 kB / 297.7 MB, free: 1.324 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.005018, allocations: 8.922 kB / 297.7 MB, free: 1.316 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.005175, allocations: 150.2 kB / 297.8 MB, free: 1.145 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.005189, allocations: 4.375 kB / 297.8 MB, free: 1.141 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.005197, allocations: 384 / 297.8 MB, free: 1.141 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.906e-05/0.005296, allocations: 61.77 kB / 297.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.005302, allocations: 192 / 297.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.611e-06/0.005307, allocations: 384 / 297.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.005312, allocations: 7.938 kB / 297.9 MB, free: 1.062 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.267e-05/0.005335, allocations: 11.98 kB / 297.9 MB, free: 1.051 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.096e-05/0.005416, allocations: 70.59 kB / 298 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.084e-05/0.005486, allocations: 45.36 kB / 298 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.661e-05/0.005503, allocations: 12.86 kB / 298.1 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.005512, allocations: 0 / 298.1 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.608e-05/0.005598, allocations: 66.22 kB / 298.1 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.005599, allocations: 3.938 kB / 298.1 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 9.541e-05/0.005694, allocations: 57.67 kB / 298.2 MB, free: 0.75 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.005719, allocations: 55.34 kB / 298.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.526e-05/0.005814, allocations: 177.2 kB / 298.4 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.00583, allocations: 29.7 kB / 298.4 MB, free: 472 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.694e-05/0.005857, allocations: 96.09 kB / 298.5 MB, free: 372 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.005886, allocations: 15.89 kB / 298.5 MB, free: 356 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/0.005913, allocations: 17.72 kB / 298.6 MB, free: 332 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.463e-05/0.005998, allocations: 326.8 kB / 298.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.6e-05/0.006014, allocations: 6.828 kB / 298.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.861e-05/0.006032, allocations: 17.72 kB / 298.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.754e-05/0.00607, allocations: 39.3 kB / 298.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.006072, allocations: 0 / 298.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.132e-05/0.006133, allocations: 64.44 kB / 299 MB, free: 15.85 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.006144, allocations: 4 kB / 299 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.006148, allocations: 0 / 299 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.813e-06/0.006155, allocations: 3.984 kB / 299 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.014e-05/0.006215, allocations: 19.92 kB / 299 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-06/0.006217, allocations: 0 / 299 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.769e-05/0.006245, allocations: 11.94 kB / 299 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.006249, allocations: 0 / 299 MB, free: 15.81 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 (7): * Single equations (assignments): 7 * 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 5.768e-05/0.006306, allocations: 116.7 kB / 299.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.969e-06/0.006316, allocations: 7.984 kB / 299.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.065e-05/0.006397, allocations: 62.98 kB / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.006399, allocations: 4 kB / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.006401, allocations: 0 / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.006404, allocations: 3.938 kB / 299.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.119e-05/0.006475, allocations: 78.25 kB / 299.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.006477, allocations: 0 / 299.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.287e-05/0.0065, allocations: 19.92 kB / 299.3 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.595e-05/0.006516, allocations: 15.83 kB / 299.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.634e-06/0.006518, allocations: 8 kB / 299.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.968e-06/0.006522, allocations: 0 / 299.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.006523, allocations: 0 / 299.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.006526, allocations: 3.984 kB / 299.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.456e-05/0.00659, allocations: 86.7 kB / 299.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.006603, allocations: 7.938 kB / 299.5 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.833e-05/0.006621, allocations: 0 / 299.5 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.231e-05/0.006643, allocations: 11.98 kB / 299.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.006652, allocations: 0 / 299.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4e-05/0.006692, allocations: 51.64 kB / 299.5 MB, free: 15.28 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006692, allocations: 0 / 299.5 MB, free: 15.28 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001209/0.006813, allocations: 20 kB / 299.5 MB, free: 15.26 MB / 298.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: 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 (6): * Single equations (assignments): 4 * 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.001283/0.008096, allocations: 0.542 MB / 300.1 MB, free: 15.01 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.52e-05/0.008171, allocations: 28.78 kB / 300.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/0.008179, allocations: 4 kB / 300.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.317e-05/0.008203, allocations: 20.78 kB / 300.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.008327, allocations: 38.06 kB / 300.2 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004103/0.008737, allocations: 203.1 kB / 300.4 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.857e-05/0.008776, allocations: 63.34 kB / 300.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.01e-05/0.008816, allocations: 12.48 kB / 300.4 MB, free: 14.6 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.473e-05/0.008881, allocations: 63.36 kB / 300.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of SimCode: time 8.01e-07/0.008882, allocations: 0 / 300.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of Templates: time 0.003456/0.01234, allocations: 1.804 MB / 302.3 MB, free: 12.75 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.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: 2.8806525664404035]