Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.0009832/0.0009832, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001072/0.002055, 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.0006943/0.0006943, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001298/0.001993, 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.9429/0.9429, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08996/1.033, allocations: 53.86 MB / 243.8 MB, free: 14.9 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.2647/0.2647, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02512/0.2899, allocations: 13.23 MB / 292.6 MB, free: 6.457 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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 293.9 MB, free: 5.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.882e-05/2.095e-05, allocations: 2.312 kB / 294 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002337/0.002358, allocations: 1.802 MB / 295.8 MB, free: 3.277 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002095/0.004453, allocations: 1.772 MB / 297.5 MB, free: 1.5 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.166e-05/0.004534, allocations: 0 / 297.5 MB, free: 1.5 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002129/0.004747, allocations: 31.78 kB / 297.6 MB, free: 1.469 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002801/0.005027, allocations: 104.1 kB / 297.7 MB, free: 1.367 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.005229, allocations: 75.67 kB / 297.7 MB, free: 1.293 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.005387, allocations: 111.6 kB / 297.8 MB, free: 1.184 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.923e-05/0.005486, allocations: 12 kB / 297.9 MB, free: 1.172 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.005616, allocations: 87.8 kB / 297.9 MB, free: 1.086 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.005721, allocations: 27.91 kB / 298 MB, free: 1.059 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.005737, allocations: 4 kB / 298 MB, free: 1.055 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000176/0.005913, allocations: 111.8 kB / 298.1 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.152e-05/0.005954, allocations: 15.92 kB / 298.1 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.24e-05/0.005986, allocations: 19.94 kB / 298.1 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.006195, allocations: 151.5 kB / 298.3 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.832e-05/0.006213, allocations: 4 kB / 298.3 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.006215, allocations: 0 / 298.3 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.218e-05/0.006237, allocations: 3.938 kB / 298.3 MB, free: 0.7539 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.0005362/0.006773, allocations: 345 kB / 298.6 MB, free: 404 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.006811, allocations: 8.922 kB / 298.6 MB, free: 396 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/0.006852, allocations: 12.92 kB / 298.6 MB, free: 384 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.007061, allocations: 142.2 kB / 298.8 MB, free: 216 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.007083, allocations: 384 / 298.8 MB, free: 216 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.007112, allocations: 8.359 kB / 298.8 MB, free: 208 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.007309, allocations: 105.1 kB / 298.9 MB, free: 80 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.007321, allocations: 3.938 kB / 298.9 MB, free: 76 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.007331, allocations: 7.922 kB / 298.9 MB, free: 68 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.007337, allocations: 0 / 298.9 MB, free: 68 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.207e-05/0.007379, allocations: 22.81 kB / 298.9 MB, free: 44 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002515/0.00763, allocations: 166 kB / 299.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.007738, allocations: 85.3 kB / 299.2 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.003e-05/0.007758, allocations: 12.86 kB / 299.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.007771, allocations: 0 / 299.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001118/0.007883, allocations: 78.03 kB / 299.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.007884, allocations: 0 / 299.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003252/0.008209, allocations: 105.6 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.00824, allocations: 55.41 kB / 299.4 MB, free: 15.49 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.00836, allocations: 160.3 kB / 299.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.008377, allocations: 29.7 kB / 299.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.189e-05/0.008409, allocations: 92.11 kB / 299.7 MB, free: 15.19 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.008437, allocations: 31.73 kB / 299.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.008475, allocations: 25.7 kB / 299.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.854e-05/0.008553, allocations: 318.8 kB / 300 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.966e-05/0.008573, allocations: 14.81 kB / 300.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.933e-05/0.008612, allocations: 52.84 kB / 300.1 MB, free: 14.72 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.57e-05/0.008658, allocations: 52.53 kB / 300.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.00866, allocations: 0 / 300.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.253e-05/0.008742, allocations: 72.38 kB / 300.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.008756, allocations: 10.5 kB / 300.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.008761, allocations: 0 / 300.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.815e-06/0.008769, allocations: 0 / 300.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.847e-05/0.008837, allocations: 23.98 kB / 300.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.008841, allocations: 0 / 300.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.028e-05/0.008871, allocations: 4 kB / 300.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.008876, allocations: 0 / 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 6.818e-05/0.008944, allocations: 120.7 kB / 300.4 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.008959, allocations: 15.86 kB / 300.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.009061, allocations: 74.11 kB / 300.5 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.009063, allocations: 4 kB / 300.5 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.009064, allocations: 0 / 300.5 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.009068, allocations: 3.984 kB / 300.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.009305, allocations: 283.8 kB / 300.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.009306, allocations: 7.938 kB / 300.8 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.312e-05/0.009339, allocations: 19.94 kB / 300.8 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.582e-05/0.009355, allocations: 15.95 kB / 300.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.009358, allocations: 4 kB / 300.8 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.009365, allocations: 4 kB / 300.8 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.009367, allocations: 0 / 300.8 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.009368, allocations: 0 / 300.8 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.009474, allocations: 211 kB / 301 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.009493, allocations: 11.98 kB / 301 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.238e-05/0.009536, allocations: 0 / 301 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/0.009563, allocations: 7.984 kB / 301 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.009582, allocations: 8 kB / 301 MB, free: 13.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.008e-05/0.009622, allocations: 36.88 kB / 301.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009622, allocations: 8 kB / 301.1 MB, free: 13.67 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001984/0.00982, allocations: 47.8 kB / 301.1 MB, free: 13.62 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.001866/0.01169, allocations: 0.757 MB / 301.9 MB, free: 13.24 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001218/0.01181, allocations: 52.7 kB / 301.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/0.01182, allocations: 0 / 301.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.444e-05/0.01185, allocations: 28.73 kB / 302 MB, free: 13.15 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.01206, allocations: 45.36 kB / 302 MB, free: 13.11 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005404/0.0126, allocations: 204 kB / 302.2 MB, free: 12.88 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.48e-05/0.01265, allocations: 67.33 kB / 302.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.438e-05/0.0127, allocations: 17.41 kB / 302.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.392e-05/0.01278, allocations: 75.34 kB / 302.4 MB, free: 12.7 MB / 298.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01279, allocations: 0 / 302.4 MB, free: 12.7 MB / 298.7 MB Notification: Performance of Templates: time 0.004925/0.01771, allocations: 2.813 MB / 305.2 MB, free: 9.922 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.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.94966921210289]