Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.001759/0.001759, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.002338/0.002338, allocations: 215.5 kB / 24.48 MB, free: 3.836 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.535/1.535, allocations: 230.5 MB / 258.1 MB, free: 7.785 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.2408/0.2408, allocations: 46.94 MB / 361.6 MB, free: 4.039 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002717/0.002717, allocations: 79.88 kB / 0.4974 GB, free: 7.031 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3867, allocations: 66.09 MB / 0.562 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003962/0.3907, allocations: 1.784 MB / 0.5637 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002364/0.3931, allocations: 1.041 MB / 0.5647 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00015/0.3932, allocations: 4 kB / 0.5647 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006456/0.3939, allocations: 307.3 kB / 0.565 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006672/0.3945, allocations: 263.2 kB / 0.5653 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003394/0.3949, allocations: 111.6 kB / 0.5654 GB, free: 468 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004765/0.3953, allocations: 263.3 kB / 0.5656 GB, free: 204 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.439e-05/0.3954, allocations: 9.797 kB / 0.5656 GB, free: 192 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002666/0.3957, allocations: 127.6 kB / 0.5658 GB, free: 64 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003738/0.3961, allocations: 223.4 kB / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.464e-05/0.3961, allocations: 11.94 kB / 0.566 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.3962, allocations: 43.98 kB / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001934/0.3964, allocations: 143.6 kB / 0.5662 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.3966, allocations: 111 kB / 0.5663 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005481/0.3971, allocations: 392.7 kB / 0.5667 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3971, allocations: 0 / 0.5667 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3971, allocations: 4 kB / 0.5667 GB, free: 15.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.612e-05/0.3972, allocations: 0 / 0.5667 GB, free: 15.16 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.001235/0.3984, allocations: 0.6747 MB / 0.5673 GB, free: 14.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.3984, allocations: 8.031 kB / 0.5673 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.3986, allocations: 52.61 kB / 0.5674 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007682/0.3993, allocations: 402.4 kB / 0.5678 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.123e-05/0.3994, allocations: 4.375 kB / 0.5678 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.3994, allocations: 8.375 kB / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.3996, allocations: 87.67 kB / 0.5679 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3997, allocations: 0 / 0.5679 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.3997, allocations: 0 / 0.5679 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.3997, allocations: 7.938 kB / 0.5679 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.3998, allocations: 35.91 kB / 0.5679 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004969/0.4003, allocations: 318 kB / 0.5682 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.4006, allocations: 105.2 kB / 0.5683 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.4007, allocations: 37.7 kB / 0.5683 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.4007, allocations: 4 kB / 0.5683 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002595/0.401, allocations: 105.1 kB / 0.5684 GB, free: 13.19 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.401, allocations: 0 / 0.5684 GB, free: 13.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.000573/0.4016, allocations: 213.2 kB / 0.5686 GB, free: 12.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.816e-05/0.4016, allocations: 81.11 kB / 0.5687 GB, free: 12.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.403, allocations: 1.065 MB / 0.5698 GB, free: 11.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.403, allocations: 29.7 kB / 0.5698 GB, free: 11.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.4033, allocations: 240.1 kB / 0.57 GB, free: 11.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.314e-05/0.4033, allocations: 27.75 kB / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.839e-05/0.4034, allocations: 29.7 kB / 0.5701 GB, free: 11.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002271/0.4036, allocations: 370.8 kB / 0.5704 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.968e-05/0.4037, allocations: 31.98 kB / 0.5705 GB, free: 11.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.4038, allocations: 63.41 kB / 0.5705 GB, free: 10.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.404, allocations: 95.84 kB / 0.5706 GB, free: 10.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.404, allocations: 7.938 kB / 0.5706 GB, free: 10.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003516/0.4044, allocations: 173.2 kB / 0.5708 GB, free: 10.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.4044, allocations: 11.94 kB / 0.5708 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.4044, allocations: 0 / 0.5708 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.4044, allocations: 4 kB / 0.5708 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.4046, allocations: 27.92 kB / 0.5708 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.4046, allocations: 0 / 0.5708 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.4047, allocations: 7.938 kB / 0.5708 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.4047, allocations: 8 kB / 0.5708 GB, free: 10.64 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002546/0.4049, allocations: 230.7 kB / 0.5711 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.956e-05/0.405, allocations: 55.56 kB / 0.5711 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004361/0.4055, allocations: 205.8 kB / 0.5713 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.4055, allocations: 0 / 0.5713 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4055, allocations: 0 / 0.5713 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.4055, allocations: 3.984 kB / 0.5713 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003246/0.4058, allocations: 269.2 kB / 0.5716 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4058, allocations: 0 / 0.5716 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.996e-05/0.4058, allocations: 19.86 kB / 0.5716 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.4059, allocations: 8 kB / 0.5716 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.4059, allocations: 4.188 kB / 0.5716 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.4059, allocations: 8 kB / 0.5716 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4059, allocations: 0 / 0.5716 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004345/0.4063, allocations: 217.6 kB / 0.5718 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/0.4065, allocations: 67.59 kB / 0.5719 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/0.4065, allocations: 7.938 kB / 0.5719 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.762e-05/0.4066, allocations: 7.984 kB / 0.5719 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.4067, allocations: 11.92 kB / 0.5719 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.4067, allocations: 8 kB / 0.5719 GB, free: 9.465 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001014/0.4077, allocations: 0.7917 MB / 0.5727 GB, free: 8.676 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4077, allocations: 0 / 0.5727 GB, free: 8.676 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000304/0.408, allocations: 44 kB / 0.5727 GB, free: 8.633 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.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.001701/0.4097, allocations: 437.7 kB / 0.5731 GB, free: 8.348 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002887/0.41, allocations: 79.91 kB / 0.5732 GB, free: 8.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.41, allocations: 0 / 0.5732 GB, free: 8.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.4101, allocations: 43.91 kB / 0.5733 GB, free: 8.227 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000462/0.4106, allocations: 84.11 kB / 0.5733 GB, free: 8.148 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.4121, allocations: 0.9379 MB / 0.5743 GB, free: 7.176 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.4124, allocations: 241.7 kB / 0.5745 GB, free: 6.918 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.815e-05/0.4125, allocations: 31.44 kB / 0.5745 GB, free: 6.891 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4125, allocations: 0 / 0.5745 GB, free: 6.891 MB / 414.1 MB Notification: Performance of Templates: time 0.011/0.4235, allocations: 5.353 MB / 0.5797 GB, free: 1.539 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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: 8.341480743139982]