Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.00177/0.00177, 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.001755/0.001755, allocations: 206.4 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.564/1.564, allocations: 230.5 MB / 257.4 MB, free: 7.766 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.2602/0.2602, allocations: 46.95 MB / 360.8 MB, free: 3.93 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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002381/0.002381, allocations: 79.88 kB / 0.4967 GB, free: 6.973 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3598, allocations: 66.1 MB / 0.5613 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003982/0.3637, allocations: 1.862 MB / 0.5631 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002221/0.366, allocations: 1.078 MB / 0.5641 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.702e-05/0.366, allocations: 0 / 0.5641 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000476/0.3665, allocations: 227.4 kB / 0.5643 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004686/0.367, allocations: 219.2 kB / 0.5646 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.3673, allocations: 115.6 kB / 0.5647 GB, free: 440 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003372/0.3676, allocations: 263.2 kB / 0.5649 GB, free: 176 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.3677, allocations: 17.97 kB / 0.5649 GB, free: 156 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.3679, allocations: 119.5 kB / 0.565 GB, free: 36 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002521/0.3681, allocations: 171.4 kB / 0.5652 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.3682, allocations: 12 kB / 0.5652 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.3683, allocations: 63.97 kB / 0.5653 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.3684, allocations: 67.7 kB / 0.5653 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.289e-05/0.3685, allocations: 67.47 kB / 0.5654 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003666/0.3688, allocations: 253.1 kB / 0.5657 GB, free: 15.42 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.3689, allocations: 4 kB / 0.5657 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3689, allocations: 0 / 0.5657 GB, free: 15.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.3689, allocations: 0 / 0.5657 GB, free: 15.41 MB / 414.1 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.0009263/0.3698, allocations: 0.4886 MB / 0.5661 GB, free: 14.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.3698, allocations: 12.03 kB / 0.5661 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.397e-05/0.3699, allocations: 36.73 kB / 0.5662 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004632/0.3704, allocations: 226.4 kB / 0.5664 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.3704, allocations: 8.312 kB / 0.5664 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.762e-05/0.3704, allocations: 8.375 kB / 0.5664 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002663/0.3707, allocations: 115.7 kB / 0.5665 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.3707, allocations: 0 / 0.5665 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.3707, allocations: 0 / 0.5665 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.3707, allocations: 4 kB / 0.5665 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.3709, allocations: 51.89 kB / 0.5666 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006361/0.3715, allocations: 420.5 kB / 0.567 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000429/0.3719, allocations: 133.1 kB / 0.5671 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.3721, allocations: 45.83 kB / 0.5671 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.3721, allocations: 0 / 0.5671 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002437/0.3723, allocations: 121 kB / 0.5673 GB, free: 13.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.213e-06/0.3723, allocations: 0 / 0.5673 GB, free: 13.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001353/0.3737, allocations: 0.5125 MB / 0.5678 GB, free: 13.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.396e-05/0.3737, allocations: 89.05 kB / 0.5679 GB, free: 13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005045/0.3742, allocations: 456.4 kB / 0.5683 GB, free: 12.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.3743, allocations: 33.7 kB / 0.5683 GB, free: 12.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.3744, allocations: 156.5 kB / 0.5685 GB, free: 12.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.929e-05/0.3745, allocations: 79.41 kB / 0.5685 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.359e-05/0.3745, allocations: 41.7 kB / 0.5686 GB, free: 12.22 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.3747, allocations: 346.8 kB / 0.5689 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.3748, allocations: 63.91 kB / 0.569 GB, free: 11.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.375, allocations: 103.3 kB / 0.5691 GB, free: 11.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/0.3753, allocations: 159.3 kB / 0.5692 GB, free: 11.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.3753, allocations: 0 / 0.5692 GB, free: 11.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004206/0.3757, allocations: 241.6 kB / 0.5695 GB, free: 11.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.3757, allocations: 8 kB / 0.5695 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3757, allocations: 0 / 0.5695 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3757, allocations: 4.062 kB / 0.5695 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.3759, allocations: 47.86 kB / 0.5695 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3759, allocations: 3.938 kB / 0.5695 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.497e-05/0.376, allocations: 19.94 kB / 0.5695 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.376, allocations: 4 kB / 0.5695 GB, free: 11.2 MB / 414.1 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 0.0002152/0.3762, allocations: 169.8 kB / 0.5697 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.643e-05/0.3763, allocations: 31.81 kB / 0.5697 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005954/0.3769, allocations: 281.2 kB / 0.57 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/0.3769, allocations: 7.938 kB / 0.57 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.3769, allocations: 4 kB / 0.57 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.3769, allocations: 4 kB / 0.57 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.378, allocations: 0.68 MB / 0.5707 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.378, allocations: 4 kB / 0.5707 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.706e-05/0.3781, allocations: 27.98 kB / 0.5707 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.3781, allocations: 4 kB / 0.5707 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.3782, allocations: 11.98 kB / 0.5707 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.3782, allocations: 8.125 kB / 0.5707 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/0.3782, allocations: 3.938 kB / 0.5707 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006036/0.3788, allocations: 437.8 kB / 0.5712 GB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.493e-05/0.3788, allocations: 31.77 kB / 0.5712 GB, free: 9.418 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.431e-05/0.3789, allocations: 8 kB / 0.5712 GB, free: 9.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.379, allocations: 11.98 kB / 0.5712 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.136e-05/0.3791, allocations: 23.84 kB / 0.5712 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.3791, allocations: 12 kB / 0.5712 GB, free: 9.363 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004073/0.3795, allocations: 343 kB / 0.5716 GB, free: 9.027 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3795, allocations: 4 kB / 0.5716 GB, free: 9.023 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003896/0.3799, allocations: 51.94 kB / 0.5716 GB, free: 8.973 MB / 414.1 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.002144/0.3821, allocations: 0.5398 MB / 0.5721 GB, free: 8.629 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004094/0.3825, allocations: 155.8 kB / 0.5723 GB, free: 8.477 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3825, allocations: 0 / 0.5723 GB, free: 8.477 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.3826, allocations: 84.16 kB / 0.5724 GB, free: 8.395 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005796/0.3832, allocations: 68.92 kB / 0.5724 GB, free: 8.328 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.3843, allocations: 0.5629 MB / 0.573 GB, free: 7.727 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.3846, allocations: 174.1 kB / 0.5732 GB, free: 7.531 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001305/0.3847, allocations: 45.89 kB / 0.5732 GB, free: 7.488 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.66e-05/0.3848, allocations: 31.42 kB / 0.5732 GB, free: 7.457 MB / 414.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3848, allocations: 0 / 0.5732 GB, free: 7.457 MB / 414.1 MB Notification: Performance of Templates: time 0.007929/0.3927, allocations: 3.553 MB / 0.5767 GB, free: 3.945 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.377411760389805]