Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.00128/0.00128, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.001452/0.001452, allocations: 206.4 kB / 23.73 MB, free: 4.414 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.44/1.44, 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.2455/0.2455, allocations: 46.94 MB / 360.8 MB, free: 3.91 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002718/0.002718, allocations: 87.86 kB / 0.4967 GB, free: 6.961 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3847/0.3874, allocations: 66.09 MB / 0.5612 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003305/0.3907, allocations: 1.784 MB / 0.563 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002833/0.3935, allocations: 1.729 MB / 0.5647 GB, free: 400 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.49e-05/0.3936, allocations: 4 kB / 0.5647 GB, free: 396 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000321/0.3939, allocations: 63.56 kB / 0.5647 GB, free: 332 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000433/0.3944, allocations: 135.4 kB / 0.5649 GB, free: 196 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.3946, allocations: 103.7 kB / 0.565 GB, free: 92 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000294/0.3949, allocations: 207.4 kB / 0.5652 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.655e-05/0.395, allocations: 9.75 kB / 0.5652 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.3951, allocations: 87.62 kB / 0.5652 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.3953, allocations: 75.56 kB / 0.5653 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.3953, allocations: 12 kB / 0.5653 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.3955, allocations: 103.9 kB / 0.5654 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.686e-05/0.3956, allocations: 43.83 kB / 0.5655 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.617e-05/0.3957, allocations: 55.61 kB / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003558/0.396, allocations: 229.5 kB / 0.5657 GB, free: 15.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.396, allocations: 0 / 0.5657 GB, free: 15.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.396, allocations: 0 / 0.5657 GB, free: 15.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.443e-06/0.396, allocations: 0 / 0.5657 GB, free: 15.29 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007429/0.3968, allocations: 428.9 kB / 0.5662 GB, free: 14.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.3968, allocations: 8.031 kB / 0.5662 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.124e-05/0.3969, allocations: 16.84 kB / 0.5662 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003641/0.3972, allocations: 198.1 kB / 0.5664 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.3972, allocations: 4.375 kB / 0.5664 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.3973, allocations: 4.359 kB / 0.5664 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000294/0.3976, allocations: 168.7 kB / 0.5665 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.3976, allocations: 0 / 0.5665 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.3976, allocations: 4 kB / 0.5665 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3976, allocations: 0 / 0.5665 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.3977, allocations: 35.97 kB / 0.5666 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002204/0.3979, allocations: 154.2 kB / 0.5667 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.3982, allocations: 113.2 kB / 0.5668 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.3983, allocations: 37.7 kB / 0.5669 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.3983, allocations: 0 / 0.5669 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002279/0.3986, allocations: 117 kB / 0.567 GB, free: 13.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/0.3986, allocations: 0 / 0.567 GB, free: 13.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004889/0.3991, allocations: 177.4 kB / 0.5671 GB, free: 13.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.219e-05/0.3991, allocations: 136.5 kB / 0.5673 GB, free: 13.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.3994, allocations: 246.3 kB / 0.5675 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.3995, allocations: 25.7 kB / 0.5675 GB, free: 13.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.587e-05/0.3995, allocations: 124.1 kB / 0.5677 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.283e-05/0.3996, allocations: 27.8 kB / 0.5677 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-05/0.3996, allocations: 29.72 kB / 0.5677 GB, free: 13.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3998, allocations: 330.8 kB / 0.568 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.017e-05/0.3999, allocations: 27.98 kB / 0.568 GB, free: 12.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.4, allocations: 132 kB / 0.5682 GB, free: 12.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.4002, allocations: 99.88 kB / 0.5683 GB, free: 12.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.4002, allocations: 0 / 0.5683 GB, free: 12.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002909/0.4005, allocations: 141.5 kB / 0.5684 GB, free: 12.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.4005, allocations: 15.92 kB / 0.5684 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4005, allocations: 0 / 0.5684 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.4006, allocations: 0 / 0.5684 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.4007, allocations: 20 kB / 0.5684 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.4007, allocations: 3.984 kB / 0.5684 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.311e-05/0.4008, allocations: 15.95 kB / 0.5685 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.4008, allocations: 8 kB / 0.5685 GB, free: 12.22 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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 0.0001246/0.4009, allocations: 133.8 kB / 0.5686 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.401, allocations: 19.84 kB / 0.5686 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003741/0.4013, allocations: 166.6 kB / 0.5688 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.4013, allocations: 4 kB / 0.5688 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.4014, allocations: 0 / 0.5688 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4014, allocations: 0 / 0.5688 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.4015, allocations: 165.1 kB / 0.5689 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4015, allocations: 4 kB / 0.5689 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.375e-05/0.4016, allocations: 8 kB / 0.5689 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.4016, allocations: 4 kB / 0.5689 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.4016, allocations: 11.92 kB / 0.569 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.4016, allocations: 4.25 kB / 0.569 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4016, allocations: 0 / 0.569 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003335/0.4019, allocations: 189.7 kB / 0.5691 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-05/0.402, allocations: 23.84 kB / 0.5692 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.402, allocations: 7.938 kB / 0.5692 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.626e-05/0.4021, allocations: 11.98 kB / 0.5692 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.4021, allocations: 11.98 kB / 0.5692 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.4022, allocations: 4 kB / 0.5692 GB, free: 11.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001988/0.4024, allocations: 188.4 kB / 0.5694 GB, free: 11.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4024, allocations: 4 kB / 0.5694 GB, free: 11.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002962/0.4027, allocations: 51.86 kB / 0.5694 GB, free: 11.15 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (12): * Single equations (assignments): 8 * 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.001965/0.4046, allocations: 0.5198 MB / 0.5699 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002781/0.4049, allocations: 91.83 kB / 0.57 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4049, allocations: 0 / 0.57 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.405, allocations: 40.11 kB / 0.5701 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.4054, allocations: 54.17 kB / 0.5701 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005966/0.406, allocations: 291.6 kB / 0.5704 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.4061, allocations: 107.4 kB / 0.5705 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.4062, allocations: 41.95 kB / 0.5705 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.04e-05/0.4063, allocations: 27.42 kB / 0.5706 GB, free: 10.12 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.4063, allocations: 0 / 0.5706 GB, free: 10.12 MB / 414.1 MB Notification: Performance of Templates: time 0.007799/0.4141, allocations: 3.5 MB / 0.574 GB, free: 6.648 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.392002349719405]