Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.001332/0.001332, allocations: 114 kB / 20.43 MB, free: 1.457 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.001567/0.001567, allocations: 214.8 kB / 23.74 MB, free: 4.672 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.517/1.517, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.2866/0.2866, allocations: 46.93 MB / 360.8 MB, free: 4.195 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.Test79,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002512/0.002512, allocations: 71.88 kB / 0.4963 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3908, allocations: 66.09 MB / 0.5608 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003783/0.3946, allocations: 1.932 MB / 0.5627 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002127/0.3967, allocations: 1.15 MB / 0.5638 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.3968, allocations: 7.938 kB / 0.5638 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005233/0.3974, allocations: 231.3 kB / 0.5641 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004766/0.3978, allocations: 215.2 kB / 0.5643 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.3981, allocations: 115.6 kB / 0.5644 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000356/0.3985, allocations: 263.3 kB / 0.5646 GB, free: 356 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.3986, allocations: 23.72 kB / 0.5646 GB, free: 332 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.3988, allocations: 123.6 kB / 0.5648 GB, free: 208 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.399, allocations: 171.4 kB / 0.5649 GB, free: 36 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.3991, allocations: 8 kB / 0.5649 GB, free: 28 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.3992, allocations: 71.97 kB / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.3993, allocations: 55.72 kB / 0.5651 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.3994, allocations: 95.28 kB / 0.5651 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003671/0.3998, allocations: 242.8 kB / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.3998, allocations: 4 kB / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3998, allocations: 3.938 kB / 0.5654 GB, free: 15.56 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.3998, allocations: 0 / 0.5654 GB, free: 15.56 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.0008561/0.4007, allocations: 0.5041 MB / 0.5659 GB, free: 15.03 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.4007, allocations: 8.031 kB / 0.5659 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.842e-05/0.4008, allocations: 42.75 kB / 0.5659 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.114e-05/0.4008, allocations: 28.75 kB / 0.5659 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004355/0.4013, allocations: 234.4 kB / 0.5662 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.4013, allocations: 4.375 kB / 0.5662 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.4013, allocations: 8.375 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002485/0.4016, allocations: 117.8 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.4016, allocations: 4 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.4016, allocations: 4 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.4016, allocations: 0 / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.4018, allocations: 55.89 kB / 0.5664 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006155/0.4024, allocations: 440 kB / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003971/0.4028, allocations: 121.2 kB / 0.5669 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.4029, allocations: 45.81 kB / 0.5669 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.4029, allocations: 0 / 0.5669 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002662/0.4032, allocations: 124 kB / 0.5671 GB, free: 13.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.4032, allocations: 0 / 0.5671 GB, free: 13.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001396/0.4046, allocations: 0.5053 MB / 0.5675 GB, free: 13.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.157e-05/0.4046, allocations: 81.11 kB / 0.5676 GB, free: 13.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000564/0.4052, allocations: 444.5 kB / 0.5681 GB, free: 12.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.4052, allocations: 29.7 kB / 0.5681 GB, free: 12.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.4054, allocations: 168.5 kB / 0.5682 GB, free: 12.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.648e-05/0.4055, allocations: 67.42 kB / 0.5683 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.91e-05/0.4055, allocations: 45.7 kB / 0.5683 GB, free: 12.31 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.4057, allocations: 346.8 kB / 0.5687 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.4059, allocations: 55.97 kB / 0.5687 GB, free: 11.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.406, allocations: 92.66 kB / 0.5688 GB, free: 11.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/0.4063, allocations: 167.5 kB / 0.569 GB, free: 11.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4063, allocations: 0 / 0.569 GB, free: 11.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004156/0.4068, allocations: 229.3 kB / 0.5692 GB, free: 11.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.4068, allocations: 10.19 kB / 0.5692 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.4068, allocations: 3.938 kB / 0.5692 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.4068, allocations: 4.062 kB / 0.5692 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.4069, allocations: 43.92 kB / 0.5693 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.407, allocations: 4 kB / 0.5693 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.502e-05/0.407, allocations: 15.94 kB / 0.5693 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.4071, allocations: 8 kB / 0.5693 GB, free: 11.31 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.0001872/0.4072, allocations: 174.2 kB / 0.5695 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.939e-05/0.4073, allocations: 31.81 kB / 0.5695 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005252/0.4078, allocations: 272.2 kB / 0.5697 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.4078, allocations: 0 / 0.5697 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4078, allocations: 0 / 0.5697 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.4078, allocations: 11.98 kB / 0.5698 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009622/0.4088, allocations: 0.699 MB / 0.5704 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.301e-05/0.4088, allocations: 4.031 kB / 0.5704 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.497e-05/0.4089, allocations: 35.92 kB / 0.5705 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.4089, allocations: 4 kB / 0.5705 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.4089, allocations: 4 kB / 0.5705 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.4089, allocations: 0 / 0.5705 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/0.4089, allocations: 7.984 kB / 0.5705 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005032/0.4094, allocations: 421.8 kB / 0.5709 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.694e-05/0.4095, allocations: 35.77 kB / 0.5709 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.689e-05/0.4095, allocations: 15.92 kB / 0.5709 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.4097, allocations: 4 kB / 0.5709 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.709e-05/0.4097, allocations: 31.84 kB / 0.571 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.641e-05/0.4098, allocations: 8 kB / 0.571 GB, free: 9.465 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003454/0.4101, allocations: 335 kB / 0.5713 GB, free: 9.137 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4101, allocations: 0 / 0.5713 GB, free: 9.137 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000355/0.4105, allocations: 51.92 kB / 0.5713 GB, free: 9.086 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.002689/0.4131, allocations: 1.357 MB / 0.5727 GB, free: 7.875 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003761/0.4135, allocations: 151.8 kB / 0.5728 GB, free: 7.727 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4135, allocations: 4.062 kB / 0.5728 GB, free: 7.723 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.4137, allocations: 75.84 kB / 0.5729 GB, free: 7.648 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005574/0.4142, allocations: 66.67 kB / 0.573 GB, free: 7.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003565/0.4178, allocations: 2.882 MB / 0.5758 GB, free: 4.586 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004396/0.4182, allocations: 0.7753 MB / 0.5765 GB, free: 3.785 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.4184, allocations: 41.92 kB / 0.5766 GB, free: 3.742 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.4185, allocations: 95.39 kB / 0.5767 GB, free: 3.648 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4185, allocations: 0 / 0.5767 GB, free: 3.648 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03342/0.4519, allocations: 6.685 MB / 0.5832 GB, free: 13 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.77, allocations: 4.312 kB / 0.5832 GB, free: 13 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.002857974963263]