Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.002035/0.002035, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002722/0.002722, allocations: 214.3 kB / 23.73 MB, free: 4.164 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.605/1.605, allocations: 230.5 MB / 257.4 MB, free: 7.805 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.2655/0.2655, allocations: 46.95 MB / 360.8 MB, free: 4.004 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003446/0.003446, allocations: 79.81 kB / 0.4967 GB, free: 6.977 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4936/0.4971, allocations: 66.08 MB / 0.5612 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003968/0.501, allocations: 1.714 MB / 0.5629 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00192/0.5029, allocations: 0.9731 MB / 0.5639 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.5031, allocations: 4 kB / 0.5639 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000448/0.5035, allocations: 75.7 kB / 0.5639 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004468/0.504, allocations: 119.6 kB / 0.5641 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.5042, allocations: 83.66 kB / 0.5641 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002484/0.5044, allocations: 123.7 kB / 0.5643 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.5046, allocations: 7.938 kB / 0.5643 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.5047, allocations: 47.78 kB / 0.5643 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.5049, allocations: 67.73 kB / 0.5644 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.5049, allocations: 4 kB / 0.5644 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.505, allocations: 43.98 kB / 0.5644 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.408e-05/0.5051, allocations: 27.91 kB / 0.5644 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.046e-05/0.5051, allocations: 27.81 kB / 0.5645 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003027/0.5054, allocations: 133.8 kB / 0.5646 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5054, allocations: 0 / 0.5646 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5055, allocations: 0 / 0.5646 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.5055, allocations: 0 / 0.5646 GB, free: 0.4961 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.000768/0.5062, allocations: 349.5 kB / 0.5649 GB, free: 128 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.5063, allocations: 12.03 kB / 0.5649 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.329e-05/0.5063, allocations: 16.84 kB / 0.565 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003887/0.5067, allocations: 154.3 kB / 0.5651 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.5068, allocations: 4.312 kB / 0.5651 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.5068, allocations: 8.375 kB / 0.5651 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.507, allocations: 61.97 kB / 0.5652 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.507, allocations: 3.938 kB / 0.5652 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.507, allocations: 8 kB / 0.5652 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.507, allocations: 0 / 0.5652 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.89e-05/0.5071, allocations: 19.98 kB / 0.5652 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004719/0.5076, allocations: 232.6 kB / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.5078, allocations: 62.55 kB / 0.5655 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.591e-05/0.5079, allocations: 24.86 kB / 0.5655 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.5079, allocations: 0 / 0.5655 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001841/0.5081, allocations: 71.38 kB / 0.5656 GB, free: 15.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.5081, allocations: 0 / 0.5656 GB, free: 15.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007059/0.5088, allocations: 185.6 kB / 0.5658 GB, free: 15.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.5088, allocations: 51.41 kB / 0.5658 GB, free: 15.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.5091, allocations: 235.5 kB / 0.566 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.5091, allocations: 25.7 kB / 0.5661 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.32e-05/0.5092, allocations: 108.1 kB / 0.5662 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.5092, allocations: 19.8 kB / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/0.5093, allocations: 33.7 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.5094, allocations: 326.8 kB / 0.5665 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.242e-05/0.5095, allocations: 27.98 kB / 0.5665 GB, free: 14.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.19e-05/0.5096, allocations: 45.64 kB / 0.5666 GB, free: 14.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.5097, allocations: 57.7 kB / 0.5666 GB, free: 14.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.5097, allocations: 4 kB / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000191/0.5099, allocations: 105.5 kB / 0.5668 GB, free: 14.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.5099, allocations: 4 kB / 0.5668 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.5099, allocations: 4.031 kB / 0.5668 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.5099, allocations: 0 / 0.5668 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.933e-05/0.51, allocations: 23.98 kB / 0.5668 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.51, allocations: 0 / 0.5668 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.128e-05/0.5101, allocations: 0 / 0.5668 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.5101, allocations: 4 kB / 0.5668 GB, free: 14.06 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.0001125/0.5102, allocations: 133.8 kB / 0.5669 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.5102, allocations: 19.84 kB / 0.5669 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.5105, allocations: 115.1 kB / 0.567 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.5105, allocations: 7.938 kB / 0.5671 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5105, allocations: 0 / 0.5671 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.5105, allocations: 15.91 kB / 0.5671 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004322/0.5109, allocations: 339 kB / 0.5674 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.5109, allocations: 7.984 kB / 0.5674 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.646e-05/0.511, allocations: 11.94 kB / 0.5674 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.511, allocations: 0 / 0.5674 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.511, allocations: 4 kB / 0.5674 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.511, allocations: 0 / 0.5674 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.511, allocations: 0 / 0.5674 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.5112, allocations: 224.5 kB / 0.5676 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.608e-05/0.5113, allocations: 15.91 kB / 0.5676 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.5113, allocations: 96 / 0.5676 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.074e-05/0.5114, allocations: 7.938 kB / 0.5676 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.5114, allocations: 11.92 kB / 0.5677 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.5114, allocations: 8 kB / 0.5677 GB, free: 13.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001452/0.5116, allocations: 173.1 kB / 0.5678 GB, free: 12.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5116, allocations: 0 / 0.5678 GB, free: 12.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000259/0.5118, allocations: 27.94 kB / 0.5679 GB, free: 12.88 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.001902/0.5137, allocations: 482.1 kB / 0.5683 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002207/0.5139, allocations: 71.89 kB / 0.5684 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.514, allocations: 0 / 0.5684 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.138e-05/0.514, allocations: 27.92 kB / 0.5684 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.5144, allocations: 44.94 kB / 0.5685 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005518/0.515, allocations: 251.3 kB / 0.5687 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.5151, allocations: 88.75 kB / 0.5688 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.041e-05/0.5151, allocations: 16.97 kB / 0.5688 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.084e-05/0.5152, allocations: 11.44 kB / 0.5688 GB, free: 12.03 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.5152, allocations: 8 kB / 0.5688 GB, free: 12.02 MB / 414.1 MB Notification: Performance of Templates: time 0.005666/0.5208, allocations: 1.926 MB / 0.5707 GB, free: 10.12 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.684289835393429]