Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.001007/0.001007, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.0009569/0.0009569, allocations: 165.3 kB / 24.91 MB, free: 9.199 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.938/0.938, allocations: 177 MB / 205.2 MB, free: 5.422 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.2529/0.2529, allocations: 34.86 MB / 296.6 MB, free: 496 kB / 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 326 MB, free: 7.078 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.876e-05/2.018e-05, allocations: 4.5 kB / 326 MB, free: 7.074 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003113/0.003133, allocations: 1.962 MB / 327.9 MB, free: 5.102 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.0048, allocations: 1.048 MB / 329 MB, free: 4.047 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.004905, allocations: 0 / 329 MB, free: 4.047 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002818/0.005187, allocations: 43.66 kB / 329 MB, free: 4.004 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003132/0.0055, allocations: 103.4 kB / 329.1 MB, free: 3.902 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.005728, allocations: 99.58 kB / 329.2 MB, free: 3.805 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002257/0.005954, allocations: 148.3 kB / 329.4 MB, free: 3.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.006059, allocations: 30.44 kB / 329.4 MB, free: 3.629 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.006187, allocations: 83.67 kB / 329.5 MB, free: 3.547 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.006289, allocations: 39.89 kB / 329.5 MB, free: 3.508 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.006308, allocations: 4 kB / 329.5 MB, free: 3.504 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.711e-05/0.006405, allocations: 47.92 kB / 329.6 MB, free: 3.457 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.99e-05/0.006465, allocations: 31.84 kB / 329.6 MB, free: 3.426 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.991e-05/0.006515, allocations: 31.86 kB / 329.6 MB, free: 3.395 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.006737, allocations: 131.4 kB / 329.8 MB, free: 3.266 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.006739, allocations: 0 / 329.8 MB, free: 3.266 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.006739, allocations: 4 kB / 329.8 MB, free: 3.262 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.536e-06/0.006743, allocations: 0 / 329.8 MB, free: 3.262 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004827/0.007226, allocations: 379.1 kB / 330.1 MB, free: 2.863 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.007256, allocations: 8.031 kB / 330.2 MB, free: 2.855 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.539e-05/0.007302, allocations: 16.92 kB / 330.2 MB, free: 2.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.007504, allocations: 166.3 kB / 330.3 MB, free: 2.648 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.007522, allocations: 8.375 kB / 330.3 MB, free: 2.641 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.364e-05/0.007546, allocations: 8.328 kB / 330.3 MB, free: 2.633 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.007717, allocations: 138 kB / 330.5 MB, free: 2.473 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.007725, allocations: 192 / 330.5 MB, free: 2.473 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.007734, allocations: 384 / 330.5 MB, free: 2.473 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.007741, allocations: 7.938 kB / 330.5 MB, free: 2.465 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.789e-05/0.007789, allocations: 23.25 kB / 330.5 MB, free: 2.441 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.008158, allocations: 378.1 kB / 330.9 MB, free: 2.047 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.008331, allocations: 97.28 kB / 331 MB, free: 1.941 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.81e-05/0.00837, allocations: 32.77 kB / 331 MB, free: 1.906 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.00838, allocations: 4 kB / 331 MB, free: 1.902 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001128/0.008493, allocations: 99.84 kB / 331.1 MB, free: 1.785 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.008494, allocations: 0 / 331.1 MB, free: 1.785 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001469/0.008641, allocations: 77.02 kB / 331.2 MB, free: 1.707 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.008677, allocations: 59.39 kB / 331.2 MB, free: 1.637 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.008821, allocations: 189.6 kB / 331.4 MB, free: 1.438 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.00884, allocations: 25.7 kB / 331.5 MB, free: 1.406 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.9e-05/0.008899, allocations: 112 kB / 331.6 MB, free: 1.293 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.008922, allocations: 19.84 kB / 331.6 MB, free: 1.273 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.008973, allocations: 37.69 kB / 331.6 MB, free: 1.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.009075, allocations: 330.8 kB / 331.9 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.695e-05/0.009102, allocations: 14.81 kB / 332 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.845e-05/0.00915, allocations: 37.3 kB / 332 MB, free: 0.832 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.438e-05/0.009234, allocations: 69.84 kB / 332.1 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.009236, allocations: 0 / 332.1 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001334/0.00937, allocations: 104.3 kB / 332.2 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.009381, allocations: 4 kB / 332.2 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.009386, allocations: 0 / 332.2 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.009401, allocations: 4 kB / 332.2 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.943e-05/0.00948, allocations: 19.98 kB / 332.2 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.009486, allocations: 4 kB / 332.2 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.366e-05/0.009539, allocations: 15.89 kB / 332.2 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.009547, allocations: 0 / 332.2 MB, free: 0.5898 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.366e-05/0.00963, allocations: 128.6 kB / 332.3 MB, free: 464 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.952e-05/0.00965, allocations: 8.031 kB / 332.3 MB, free: 456 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/0.009775, allocations: 87.06 kB / 332.4 MB, free: 360 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.009777, allocations: 0 / 332.4 MB, free: 360 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.009778, allocations: 0 / 332.4 MB, free: 360 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.009783, allocations: 3.984 kB / 332.4 MB, free: 356 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.009892, allocations: 97.81 kB / 332.5 MB, free: 240 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.009893, allocations: 0 / 332.5 MB, free: 240 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.879e-05/0.009952, allocations: 19.98 kB / 332.5 MB, free: 220 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.009955, allocations: 3.938 kB / 332.6 MB, free: 216 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.009964, allocations: 0 / 332.6 MB, free: 216 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.009966, allocations: 4 kB / 332.6 MB, free: 212 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.009967, allocations: 4 kB / 332.6 MB, free: 208 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.01012, allocations: 116.4 kB / 332.7 MB, free: 72 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.761e-05/0.01014, allocations: 23.78 kB / 332.7 MB, free: 48 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.01016, allocations: 3.938 kB / 332.7 MB, free: 44 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.106e-05/0.0102, allocations: 8 kB / 332.7 MB, free: 36 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.01023, allocations: 7.984 kB / 332.7 MB, free: 28 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.01024, allocations: 3.984 kB / 332.7 MB, free: 24 kB / 298.7 MB Notification: Performance of sorting global known variables: time 7.541e-05/0.01032, allocations: 52.53 kB / 332.8 MB, free: 15.97 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01032, allocations: 0 / 332.8 MB, free: 15.97 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002276/0.01055, allocations: 24 kB / 332.8 MB, free: 15.95 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001497/0.01204, allocations: 0.4989 MB / 333.3 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000118/0.01216, allocations: 52.7 kB / 333.3 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.01217, allocations: 4 kB / 333.3 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.963e-05/0.01222, allocations: 28.78 kB / 333.4 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/0.0124, allocations: 37.55 kB / 333.4 MB, free: 15.57 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004416/0.01284, allocations: 258 kB / 333.7 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.864e-05/0.01289, allocations: 71.83 kB / 333.7 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.82e-05/0.01295, allocations: 17.47 kB / 333.8 MB, free: 15.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.01305, allocations: 79.34 kB / 333.8 MB, free: 15.11 MB / 314.7 MB Notification: Performance of SimCode: time 6.42e-07/0.01305, allocations: 0 / 333.8 MB, free: 15.11 MB / 314.7 MB Notification: Performance of Templates: time 0.005012/0.01807, allocations: 2.187 MB / 336 MB, free: 12.96 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.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.9224849087186158]