Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.001829/0.001829, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002204/0.002204, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.43/1.43, allocations: 230.3 MB / 258 MB, free: 8.238 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.2293/0.2293, allocations: 46.89 MB / 361.3 MB, free: 4.449 MB / 286.1 MB " [Timeout remaining time 180] 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 83.84 kB / 0.4971 GB, free: 7.539 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.392, allocations: 66.02 MB / 0.5616 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003768/0.3958, allocations: 1.854 MB / 0.5634 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002044/0.3978, allocations: 1.121 MB / 0.5645 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.918e-05/0.3979, allocations: 7.938 kB / 0.5645 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006102/0.3985, allocations: 307.3 kB / 0.5648 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005568/0.3991, allocations: 259.2 kB / 0.565 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.3994, allocations: 107.6 kB / 0.5651 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003713/0.3997, allocations: 267.2 kB / 0.5654 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.516e-05/0.3998, allocations: 9.812 kB / 0.5654 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.4, allocations: 135.5 kB / 0.5655 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002789/0.4003, allocations: 223.4 kB / 0.5657 GB, free: 480 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.4003, allocations: 8 kB / 0.5657 GB, free: 472 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.4004, allocations: 43.98 kB / 0.5658 GB, free: 428 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000174/0.4006, allocations: 143.6 kB / 0.5659 GB, free: 284 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.4008, allocations: 150.7 kB / 0.5661 GB, free: 132 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005004/0.4013, allocations: 385 kB / 0.5664 GB, free: 15.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.4013, allocations: 0 / 0.5664 GB, free: 15.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4013, allocations: 0 / 0.5664 GB, free: 15.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.4013, allocations: 0 / 0.5664 GB, free: 15.75 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.001077/0.4024, allocations: 0.6786 MB / 0.5671 GB, free: 15.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.4024, allocations: 12.03 kB / 0.5671 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.4025, allocations: 56.48 kB / 0.5672 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007099/0.4032, allocations: 406.5 kB / 0.5676 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.4032, allocations: 4.375 kB / 0.5676 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.4033, allocations: 4.375 kB / 0.5676 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.4035, allocations: 91.67 kB / 0.5676 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.4035, allocations: 0 / 0.5676 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.4035, allocations: 0 / 0.5676 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.4035, allocations: 4 kB / 0.5677 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.4036, allocations: 35.91 kB / 0.5677 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004507/0.4041, allocations: 353.4 kB / 0.568 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003031/0.4044, allocations: 97.17 kB / 0.5681 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.4045, allocations: 45.69 kB / 0.5682 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.4045, allocations: 0 / 0.5682 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002558/0.4048, allocations: 116.9 kB / 0.5683 GB, free: 13.72 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.4048, allocations: 0 / 0.5683 GB, free: 13.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005309/0.4053, allocations: 193.3 kB / 0.5685 GB, free: 13.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.376e-05/0.4054, allocations: 88.98 kB / 0.5685 GB, free: 13.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.4067, allocations: 1.054 MB / 0.5696 GB, free: 12.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.4067, allocations: 29.7 kB / 0.5696 GB, free: 12.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000217/0.4069, allocations: 236.1 kB / 0.5698 GB, free: 12.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.876e-05/0.407, allocations: 27.75 kB / 0.5698 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-05/0.407, allocations: 33.7 kB / 0.5699 GB, free: 12.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.4072, allocations: 366.8 kB / 0.5702 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.56e-05/0.4073, allocations: 35.98 kB / 0.5703 GB, free: 11.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.4074, allocations: 55.41 kB / 0.5703 GB, free: 11.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.4076, allocations: 91.86 kB / 0.5704 GB, free: 11.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.4076, allocations: 0 / 0.5704 GB, free: 11.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003232/0.4079, allocations: 177.2 kB / 0.5706 GB, free: 11.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.408, allocations: 8 kB / 0.5706 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.408, allocations: 0 / 0.5706 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.408, allocations: 0 / 0.5706 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.4081, allocations: 31.92 kB / 0.5706 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.4081, allocations: 3.938 kB / 0.5706 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.236e-05/0.4082, allocations: 7.938 kB / 0.5706 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.4082, allocations: 4 kB / 0.5706 GB, free: 11.21 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.0003079/0.4085, allocations: 227.1 kB / 0.5708 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.427e-05/0.4086, allocations: 63.5 kB / 0.5709 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004116/0.409, allocations: 193.9 kB / 0.5711 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.409, allocations: 4 kB / 0.5711 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.409, allocations: 0 / 0.5711 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.409, allocations: 7.922 kB / 0.5711 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003536/0.4094, allocations: 316.5 kB / 0.5714 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.4094, allocations: 256 / 0.5714 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.742e-05/0.4094, allocations: 15.94 kB / 0.5714 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.4094, allocations: 8 kB / 0.5714 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.4094, allocations: 7.984 kB / 0.5714 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4094, allocations: 0 / 0.5714 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4094, allocations: 4 kB / 0.5714 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003625/0.4098, allocations: 205.6 kB / 0.5716 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.4099, allocations: 75.47 kB / 0.5717 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.478e-05/0.41, allocations: 4 kB / 0.5717 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.426e-05/0.4101, allocations: 11.98 kB / 0.5717 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.518e-05/0.4101, allocations: 7.984 kB / 0.5717 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/0.4102, allocations: 4 kB / 0.5717 GB, free: 9.996 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008823/0.4111, allocations: 0.7839 MB / 0.5725 GB, free: 9.215 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4111, allocations: 0 / 0.5725 GB, free: 9.215 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002782/0.4113, allocations: 47.94 kB / 0.5725 GB, free: 9.168 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.001547/0.4129, allocations: 416.8 kB / 0.5729 GB, free: 8.891 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002774/0.4132, allocations: 71.91 kB / 0.573 GB, free: 8.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4132, allocations: 0 / 0.573 GB, free: 8.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.4133, allocations: 39.92 kB / 0.573 GB, free: 8.781 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.4137, allocations: 87.61 kB / 0.5731 GB, free: 8.703 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.4151, allocations: 0.8973 MB / 0.574 GB, free: 7.777 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005413/0.4156, allocations: 0.8468 MB / 0.5748 GB, free: 6.906 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001141/0.4157, allocations: 50.97 kB / 0.5749 GB, free: 6.855 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.218e-05/0.4158, allocations: 35.42 kB / 0.5749 GB, free: 6.824 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4158, allocations: 4 kB / 0.5749 GB, free: 6.82 MB / 414.1 MB Notification: Performance of Templates: time 0.009059/0.4248, allocations: 3.908 MB / 0.5787 GB, free: 2.926 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.188591934740543]