Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.0009665/0.0009665, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001072/0.001072, allocations: 162.4 kB / 24.99 MB, free: 9.281 MB / 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 0.9348/0.9348, allocations: 177 MB / 205.2 MB, free: 5.613 MB / 186.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.2738/0.2738, allocations: 34.87 MB / 296.6 MB, free: 0.5664 MB / 266.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 378.8 MB, free: 2.348 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.482e-05/2.678e-05, allocations: 6.25 kB / 378.8 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002986/0.003013, allocations: 1.717 MB / 380.5 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.004644, allocations: 0.993 MB / 381.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.895e-05/0.004733, allocations: 0 / 381.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.005061, allocations: 67.66 kB / 381.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003657/0.005427, allocations: 111.5 kB / 381.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.005627, allocations: 79.61 kB / 381.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.005875, allocations: 103.7 kB / 381.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.571e-05/0.005921, allocations: 4.234 kB / 381.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.006033, allocations: 67.75 kB / 382 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.615e-05/0.006129, allocations: 35.89 kB / 382 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.006145, allocations: 4 kB / 382 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.364e-05/0.006229, allocations: 39.91 kB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.363e-05/0.006282, allocations: 19.92 kB / 382.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.931e-05/0.006322, allocations: 15.94 kB / 382.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.006502, allocations: 83.72 kB / 382.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.006505, allocations: 4 kB / 382.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.006507, allocations: 3.938 kB / 382.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.006511, allocations: 0 / 382.2 MB, free: 14.98 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004912/0.007002, allocations: 439.9 kB / 382.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.007049, allocations: 12.03 kB / 382.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.095e-05/0.00711, allocations: 16.83 kB / 382.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.007318, allocations: 157.1 kB / 382.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.007338, allocations: 4.375 kB / 382.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.007348, allocations: 384 / 382.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.007482, allocations: 54.94 kB / 382.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.007488, allocations: 4.188 kB / 382.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.007499, allocations: 4.375 kB / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/0.007508, allocations: 3.938 kB / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.672e-05/0.007545, allocations: 11.98 kB / 382.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001665/0.007711, allocations: 140.6 kB / 383 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.007828, allocations: 47.11 kB / 383 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.385e-05/0.007862, allocations: 19.67 kB / 383.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.007875, allocations: 0 / 383.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001241/0.007999, allocations: 73.05 kB / 383.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.412e-06/0.008, allocations: 0 / 383.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002123/0.008213, allocations: 89.52 kB / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.00825, allocations: 55.34 kB / 383.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.008411, allocations: 230.4 kB / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.008426, allocations: 25.7 kB / 383.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.321e-05/0.008489, allocations: 150.9 kB / 383.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.008526, allocations: 23.83 kB / 383.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.008566, allocations: 23.38 kB / 383.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002768/0.008842, allocations: 0.4961 MB / 384.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.21e-05/0.008884, allocations: 12 kB / 384.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.133e-05/0.008926, allocations: 31.36 kB / 384.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.215e-05/0.008988, allocations: 39.31 kB / 384.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.00899, allocations: 0 / 384.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001004/0.009091, allocations: 69.58 kB / 384.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.009104, allocations: 4 kB / 384.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-06/0.009109, allocations: 0 / 384.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.009124, allocations: 4 kB / 384.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.829e-05/0.009202, allocations: 19.92 kB / 384.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.009207, allocations: 4.031 kB / 384.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.73e-05/0.009245, allocations: 7.953 kB / 384.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.009251, allocations: 0 / 384.4 MB, free: 12.52 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 (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 0.0001083/0.00936, allocations: 163 kB / 384.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.009386, allocations: 11.95 kB / 384.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001977/0.009584, allocations: 86.75 kB / 384.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.009588, allocations: 384 / 384.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.009594, allocations: 3.938 kB / 384.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.009597, allocations: 0 / 384.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.009728, allocations: 148.6 kB / 384.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.00973, allocations: 8 kB / 384.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.335e-05/0.009773, allocations: 4 kB / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.009776, allocations: 0 / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.009785, allocations: 0 / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.009788, allocations: 0 / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.00979, allocations: 0 / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.009952, allocations: 128.2 kB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.09e-05/0.009973, allocations: 7.953 kB / 385 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.009996, allocations: 0 / 385 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.54e-05/0.01004, allocations: 7.984 kB / 385 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.01008, allocations: 3.938 kB / 385 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.01009, allocations: 12 kB / 385 MB, free: 11.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001074/0.0102, allocations: 167.1 kB / 385.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.0102, allocations: 0 / 385.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002421/0.01044, allocations: 23.94 kB / 385.2 MB, free: 11.69 MB / 362.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.001115/0.01156, allocations: 376.6 kB / 385.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000167/0.01173, allocations: 39.61 kB / 385.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01173, allocations: 0 / 385.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.954e-05/0.01178, allocations: 27.67 kB / 385.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.01209, allocations: 23.48 kB / 385.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004945/0.01258, allocations: 198.1 kB / 385.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.805e-05/0.01263, allocations: 67.33 kB / 385.9 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.256e-05/0.01268, allocations: 16.8 kB / 385.9 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.01272, allocations: 16.5 kB / 385.9 MB, free: 11 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01272, allocations: 4 kB / 385.9 MB, free: 10.99 MB / 362.7 MB Notification: Performance of Templates: time 0.004815/0.01753, allocations: 1.643 MB / 387.6 MB, free: 9.375 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.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.019822967937216]