Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.001472/0.001472, allocations: 110 kB / 20.43 MB, free: 1.453 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.001522/0.001522, allocations: 213.1 kB / 23.74 MB, free: 4.66 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.489/1.489, allocations: 230.5 MB / 257.4 MB, free: 7.992 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.2481/0.2481, allocations: 46.93 MB / 360.8 MB, free: 4.176 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002527/0.002527, allocations: 79.88 kB / 0.4963 GB, free: 7.664 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3889, allocations: 66.08 MB / 0.5608 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.004757/0.3937, allocations: 1.938 MB / 0.5627 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002278/0.396, allocations: 1.162 MB / 0.5638 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.3961, allocations: 3.938 kB / 0.5638 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006155/0.3967, allocations: 255.3 kB / 0.5641 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005324/0.3972, allocations: 235.2 kB / 0.5643 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/0.3975, allocations: 119.6 kB / 0.5644 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003854/0.3979, allocations: 271.3 kB / 0.5647 GB, free: 256 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.3981, allocations: 19.8 kB / 0.5647 GB, free: 236 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002248/0.3983, allocations: 147.4 kB / 0.5648 GB, free: 88 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003014/0.3986, allocations: 203.5 kB / 0.565 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.3986, allocations: 8 kB / 0.565 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.3988, allocations: 67.97 kB / 0.5651 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.3989, allocations: 75.64 kB / 0.5652 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.399, allocations: 95.22 kB / 0.5653 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004277/0.3994, allocations: 258.8 kB / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.3994, allocations: 0 / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3994, allocations: 0 / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.3994, allocations: 3.938 kB / 0.5655 GB, free: 15.39 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.0009554/0.4004, allocations: 0.5157 MB / 0.566 GB, free: 14.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.4004, allocations: 12.02 kB / 0.566 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.161e-05/0.4005, allocations: 42.75 kB / 0.5661 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.4e-05/0.4006, allocations: 28.75 kB / 0.5661 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004959/0.4011, allocations: 244.7 kB / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.4011, allocations: 8.375 kB / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.4011, allocations: 4.375 kB / 0.5663 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.4014, allocations: 115.4 kB / 0.5665 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.4014, allocations: 0 / 0.5665 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.4014, allocations: 12 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.4014, allocations: 0 / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.4016, allocations: 47.89 kB / 0.5665 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006539/0.4022, allocations: 452 kB / 0.5669 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003978/0.4026, allocations: 117.2 kB / 0.5671 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.4027, allocations: 41.83 kB / 0.5671 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.4028, allocations: 4 kB / 0.5671 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002684/0.403, allocations: 129 kB / 0.5672 GB, free: 13.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.403, allocations: 0 / 0.5672 GB, free: 13.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001338/0.4044, allocations: 0.5052 MB / 0.5677 GB, free: 12.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/0.4044, allocations: 77.11 kB / 0.5678 GB, free: 12.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006018/0.405, allocations: 0.4899 MB / 0.5683 GB, free: 12.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.4051, allocations: 33.7 kB / 0.5683 GB, free: 12.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.4052, allocations: 172.5 kB / 0.5685 GB, free: 12.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.94e-05/0.4053, allocations: 75.42 kB / 0.5685 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.784e-05/0.4054, allocations: 41.7 kB / 0.5686 GB, free: 12.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.4056, allocations: 346.8 kB / 0.5689 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.4057, allocations: 59.97 kB / 0.569 GB, free: 11.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.4059, allocations: 92.66 kB / 0.5691 GB, free: 11.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/0.4062, allocations: 171.4 kB / 0.5692 GB, free: 11.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.4062, allocations: 0 / 0.5692 GB, free: 11.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000411/0.4066, allocations: 233.3 kB / 0.5694 GB, free: 11.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.4066, allocations: 4 kB / 0.5694 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.996e-06/0.4066, allocations: 7.938 kB / 0.5695 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.4066, allocations: 4.062 kB / 0.5695 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.4068, allocations: 47.91 kB / 0.5695 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.4068, allocations: 240 / 0.5695 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.221e-05/0.4068, allocations: 8 kB / 0.5695 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.4069, allocations: 12 kB / 0.5695 GB, free: 11.02 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.0001806/0.407, allocations: 174.2 kB / 0.5697 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.481e-05/0.4071, allocations: 39.75 kB / 0.5697 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005329/0.4076, allocations: 276.3 kB / 0.57 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.4076, allocations: 4 kB / 0.57 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.4076, allocations: 3.984 kB / 0.57 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.4077, allocations: 0 / 0.57 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.4087, allocations: 0.7184 MB / 0.5707 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.4087, allocations: 0 / 0.5707 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.997e-05/0.4088, allocations: 31.98 kB / 0.5707 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.86e-06/0.4088, allocations: 4 kB / 0.5707 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.4088, allocations: 4 kB / 0.5707 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.4088, allocations: 4 kB / 0.5707 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.4088, allocations: 7.922 kB / 0.5707 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004989/0.4093, allocations: 421.9 kB / 0.5711 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.612e-05/0.4093, allocations: 31.81 kB / 0.5712 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.282e-05/0.4094, allocations: 11.98 kB / 0.5712 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.4095, allocations: 11.94 kB / 0.5712 GB, free: 9.191 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.323e-05/0.4096, allocations: 27.84 kB / 0.5712 GB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.4096, allocations: 12 kB / 0.5712 GB, free: 9.152 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000396/0.41, allocations: 375.1 kB / 0.5716 GB, free: 8.789 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.41, allocations: 0 / 0.5716 GB, free: 8.789 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003538/0.4103, allocations: 51.94 kB / 0.5716 GB, free: 8.738 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 (22): * Single equations (assignments): 18 * 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.002718/0.4131, allocations: 1.356 MB / 0.573 GB, free: 7.531 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004165/0.4135, allocations: 163.7 kB / 0.5731 GB, free: 7.371 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4135, allocations: 0 / 0.5731 GB, free: 7.371 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.4136, allocations: 71.84 kB / 0.5732 GB, free: 7.301 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005612/0.4142, allocations: 66.73 kB / 0.5733 GB, free: 7.246 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004106/0.4183, allocations: 2.995 MB / 0.5762 GB, free: 4.125 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005442/0.4189, allocations: 0.787 MB / 0.577 GB, free: 3.312 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001343/0.419, allocations: 41.92 kB / 0.577 GB, free: 3.273 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.4192, allocations: 103.4 kB / 0.5771 GB, free: 3.172 MB / 414.1 MB Notification: Performance of SimCode: time 5.92e-07/0.4192, allocations: 3.938 kB / 0.5771 GB, free: 3.168 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03365/0.4528, allocations: 6.907 MB / 0.5838 GB, free: 12.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.9, allocations: 8 kB / 0.5838 GB, free: 12.29 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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: 15.031912949169055]