Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.0007625/0.0007625, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009988/0.001761, 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.001557/0.001557, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001581/0.003138, 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.019/1.019, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09719/1.117, allocations: 53.86 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.2671/0.2671, allocations: 34.86 MB / 279.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02689/0.294, allocations: 13.22 MB / 292.6 MB, free: 6.461 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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 294 MB, free: 5.082 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/2.067e-05, allocations: 2.312 kB / 294 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003336/0.003357, allocations: 1.974 MB / 295.9 MB, free: 3.094 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.005235, allocations: 1.13 MB / 297.1 MB, free: 1.957 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.00535, allocations: 3.938 kB / 297.1 MB, free: 1.953 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004627/0.005812, allocations: 295.1 kB / 297.4 MB, free: 1.664 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006353/0.006448, allocations: 259 kB / 297.6 MB, free: 1.41 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003051/0.006753, allocations: 115.6 kB / 297.7 MB, free: 1.297 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003558/0.007109, allocations: 275.2 kB / 298 MB, free: 1.027 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.00722, allocations: 18.62 kB / 298 MB, free: 1.012 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003045/0.007525, allocations: 220.1 kB / 298.2 MB, free: 0.793 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002094/0.007734, allocations: 151.7 kB / 298.4 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/0.00776, allocations: 8 kB / 298.4 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001522/0.007912, allocations: 67.91 kB / 298.5 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.211e-05/0.007994, allocations: 63.72 kB / 298.5 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.655e-05/0.00806, allocations: 39.81 kB / 298.6 MB, free: 480 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002913/0.008352, allocations: 195.2 kB / 298.7 MB, free: 284 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.717e-05/0.008369, allocations: 0 / 298.7 MB, free: 284 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.00837, allocations: 0 / 298.7 MB, free: 284 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.915e-05/0.008389, allocations: 4 kB / 298.8 MB, free: 280 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000761/0.00915, allocations: 0.5269 MB / 299.3 MB, free: 15.72 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.009194, allocations: 8.031 kB / 299.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.696e-05/0.009251, allocations: 28.91 kB / 299.3 MB, free: 15.69 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.009524, allocations: 224 kB / 299.5 MB, free: 15.44 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.036e-05/0.009555, allocations: 12.36 kB / 299.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.009583, allocations: 4.375 kB / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.009777, allocations: 113.7 kB / 299.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.009788, allocations: 192 / 299.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.009798, allocations: 8.359 kB / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.009803, allocations: 3.938 kB / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.847e-05/0.009852, allocations: 29.58 kB / 299.7 MB, free: 15.26 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003224/0.01017, allocations: 304.8 kB / 300 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.01039, allocations: 186.6 kB / 300.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.342e-05/0.01042, allocations: 29.95 kB / 300.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.01043, allocations: 4 kB / 300.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/0.01057, allocations: 115.7 kB / 300.3 MB, free: 14.56 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.022e-06/0.01057, allocations: 0 / 300.3 MB, free: 14.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006268/0.01119, allocations: 321.9 kB / 300.6 MB, free: 14.24 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.01123, allocations: 77.11 kB / 300.7 MB, free: 14.15 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004899/0.01172, allocations: 357.1 kB / 301.1 MB, free: 13.78 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.01174, allocations: 33.7 kB / 301.1 MB, free: 13.74 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/0.01179, allocations: 133.4 kB / 301.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.623e-05/0.01184, allocations: 67.42 kB / 301.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.01188, allocations: 49.67 kB / 301.3 MB, free: 13.49 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.661e-05/0.01197, allocations: 350.7 kB / 301.7 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.079e-05/0.012, allocations: 22.81 kB / 301.7 MB, free: 13.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.443e-05/0.01204, allocations: 55.41 kB / 301.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.956e-05/0.01213, allocations: 106.9 kB / 301.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.01214, allocations: 0 / 301.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001288/0.01226, allocations: 138 kB / 302 MB, free: 12.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.01228, allocations: 8.062 kB / 302 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.01228, allocations: 0 / 302 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.01229, allocations: 7.938 kB / 302 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.01239, allocations: 47.91 kB / 302.1 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.0124, allocations: 4 kB / 302.1 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.342e-05/0.01244, allocations: 11.95 kB / 302.1 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.01245, allocations: 4 kB / 302.1 MB, free: 12.71 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 8.34e-05/0.01253, allocations: 136.5 kB / 302.2 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.01257, allocations: 27.98 kB / 302.2 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001867/0.01275, allocations: 156.6 kB / 302.4 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.01276, allocations: 4 kB / 302.4 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-06/0.01276, allocations: 0 / 302.4 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.01276, allocations: 0 / 302.4 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004097/0.01317, allocations: 0.572 MB / 303 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.01318, allocations: 4 kB / 303 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.001e-05/0.01324, allocations: 39.92 kB / 303 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.558e-05/0.01326, allocations: 31.77 kB / 303 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.01327, allocations: 8.047 kB / 303.1 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.01328, allocations: 11.98 kB / 303.1 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.01328, allocations: 4 kB / 303.1 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.01328, allocations: 0 / 303.1 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/0.01348, allocations: 409.4 kB / 303.5 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.01351, allocations: 15.92 kB / 303.5 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.026e-05/0.01359, allocations: 4 kB / 303.5 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/0.01365, allocations: 23.91 kB / 303.5 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.01366, allocations: 11.98 kB / 303.5 MB, free: 11.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001267/0.01379, allocations: 163.5 kB / 303.7 MB, free: 11.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01379, allocations: 4 kB / 303.7 MB, free: 11.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002259/0.01402, allocations: 55.92 kB / 303.7 MB, free: 10.96 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001804/0.01582, allocations: 0.7068 MB / 304.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001576/0.01598, allocations: 104.6 kB / 304.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/0.01599, allocations: 4 kB / 304.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.701e-05/0.01605, allocations: 60.95 kB / 304.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.01634, allocations: 90.58 kB / 304.7 MB, free: 10.37 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006807/0.01702, allocations: 0.5154 MB / 305.2 MB, free: 9.805 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.396e-05/0.0171, allocations: 112.1 kB / 305.3 MB, free: 9.676 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.316e-05/0.01717, allocations: 42.11 kB / 305.4 MB, free: 9.637 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.01728, allocations: 91.36 kB / 305.5 MB, free: 9.547 MB / 298.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01728, allocations: 0 / 305.5 MB, free: 9.547 MB / 298.7 MB Notification: Performance of Templates: time 0.006011/0.02329, allocations: 3.711 MB / 309.2 MB, free: 5.895 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.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.026314487680793]