Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.001707/0.001707, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.002272/0.002272, allocations: 203.8 kB / 23.72 MB, free: 4.391 MB / 14.72 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.629/1.629, allocations: 230.5 MB / 257.4 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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.2704/0.2704, allocations: 46.94 MB / 360.8 MB, free: 3.945 MB / 286.1 MB " [Timeout remaining time 179] 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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002355/0.002355, allocations: 87.8 kB / 0.4967 GB, free: 6.977 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4264/0.4288, allocations: 66.08 MB / 0.5612 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003723/0.4325, allocations: 1.71 MB / 0.5629 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.4346, allocations: 0.9749 MB / 0.5639 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.255e-05/0.4347, allocations: 0 / 0.5639 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003879/0.4351, allocations: 51.75 kB / 0.5639 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003907/0.4355, allocations: 107.5 kB / 0.564 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.4357, allocations: 79.67 kB / 0.5641 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.4359, allocations: 107.6 kB / 0.5642 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.436, allocations: 11.97 kB / 0.5642 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.893e-05/0.4361, allocations: 39.8 kB / 0.5642 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.304e-05/0.4362, allocations: 31.8 kB / 0.5643 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.4362, allocations: 4 kB / 0.5643 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.4363, allocations: 43.97 kB / 0.5643 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.106e-05/0.4364, allocations: 31.91 kB / 0.5644 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.979e-05/0.4365, allocations: 31.75 kB / 0.5644 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.4367, allocations: 149.7 kB / 0.5645 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.4367, allocations: 0 / 0.5645 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4367, allocations: 3.938 kB / 0.5645 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.4367, allocations: 0 / 0.5645 GB, free: 0.5742 MB / 398.1 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.0005871/0.4373, allocations: 377.3 kB / 0.5649 GB, free: 180 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.4374, allocations: 8.031 kB / 0.5649 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.928e-05/0.4374, allocations: 16.84 kB / 0.5649 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.4377, allocations: 157.9 kB / 0.5651 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.4377, allocations: 4.375 kB / 0.5651 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.4377, allocations: 4.375 kB / 0.5651 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.4379, allocations: 63.3 kB / 0.5651 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.4379, allocations: 0 / 0.5651 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.4379, allocations: 0 / 0.5651 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.4379, allocations: 0 / 0.5651 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.97e-05/0.438, allocations: 23.92 kB / 0.5652 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/0.4384, allocations: 240.6 kB / 0.5654 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.4386, allocations: 62.61 kB / 0.5654 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.131e-05/0.4386, allocations: 16.86 kB / 0.5655 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.4386, allocations: 4 kB / 0.5655 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/0.4388, allocations: 71.38 kB / 0.5655 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.4388, allocations: 0 / 0.5655 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006245/0.4394, allocations: 193.2 kB / 0.5657 GB, free: 15.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.227e-05/0.4395, allocations: 55.41 kB / 0.5658 GB, free: 15.17 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003289/0.4398, allocations: 274.8 kB / 0.566 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.4399, allocations: 25.7 kB / 0.5661 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.965e-05/0.44, allocations: 124.1 kB / 0.5662 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.635e-05/0.44, allocations: 27.78 kB / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-05/0.4401, allocations: 29.66 kB / 0.5662 GB, free: 14.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002381/0.4403, allocations: 330.8 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.718e-05/0.4404, allocations: 23.98 kB / 0.5666 GB, free: 14.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.726e-05/0.4404, allocations: 49.56 kB / 0.5666 GB, free: 14.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.4406, allocations: 57.72 kB / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.4406, allocations: 0 / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001948/0.4408, allocations: 105.5 kB / 0.5668 GB, free: 14.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.4408, allocations: 7.938 kB / 0.5668 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4408, allocations: 384 / 0.5668 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.4408, allocations: 8.031 kB / 0.5668 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.418e-05/0.4409, allocations: 15.98 kB / 0.5668 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.4409, allocations: 0 / 0.5668 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.056e-05/0.441, allocations: 12 kB / 0.5668 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.441, allocations: 0 / 0.5668 GB, free: 14.04 MB / 414.1 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 0.0001322/0.4411, allocations: 137.8 kB / 0.5669 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.4411, allocations: 19.84 kB / 0.567 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002745/0.4414, allocations: 123 kB / 0.5671 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4414, allocations: 0 / 0.5671 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.4414, allocations: 7.938 kB / 0.5671 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.4414, allocations: 7.984 kB / 0.5671 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005477/0.442, allocations: 355.1 kB / 0.5674 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.442, allocations: 7.938 kB / 0.5674 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-05/0.442, allocations: 11.98 kB / 0.5675 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.442, allocations: 0 / 0.5675 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.442, allocations: 4 kB / 0.5675 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.442, allocations: 0 / 0.5675 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.442, allocations: 80 / 0.5675 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.4423, allocations: 224.2 kB / 0.5677 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.516e-05/0.4423, allocations: 15.94 kB / 0.5677 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.4424, allocations: 8.359 kB / 0.5677 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.09e-05/0.4424, allocations: 4 kB / 0.5677 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.4425, allocations: 7.984 kB / 0.5677 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.4425, allocations: 4 kB / 0.5677 GB, free: 13.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002044/0.4427, allocations: 212.5 kB / 0.5679 GB, free: 12.83 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4427, allocations: 0 / 0.5679 GB, free: 12.83 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.443, allocations: 27.94 kB / 0.5679 GB, free: 12.8 MB / 414.1 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.001877/0.4449, allocations: 473.6 kB / 0.5684 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.4451, allocations: 67.84 kB / 0.5685 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4451, allocations: 0 / 0.5685 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.431e-05/0.4452, allocations: 31.92 kB / 0.5685 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.4455, allocations: 35.98 kB / 0.5685 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005944/0.4461, allocations: 295.7 kB / 0.5688 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.4462, allocations: 105.1 kB / 0.5689 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.337e-05/0.4463, allocations: 21.27 kB / 0.5689 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.264e-05/0.4463, allocations: 19.44 kB / 0.5689 GB, free: 11.9 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4463, allocations: 4 kB / 0.5689 GB, free: 11.9 MB / 414.1 MB Notification: Performance of Templates: time 0.00559/0.4519, allocations: 1.953 MB / 0.5709 GB, free: 9.969 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.5973874144256115]