Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.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.001274/0.001274, allocations: 112.5 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.00151/0.00151, allocations: 212.3 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.515/1.515, allocations: 230.5 MB / 257.4 MB, free: 7.988 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.2394/0.2394, allocations: 46.92 MB / 360.8 MB, free: 4.172 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.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002349/0.002349, allocations: 79.88 kB / 0.4963 GB, free: 7.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3946, allocations: 66.08 MB / 0.5608 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003422/0.398, allocations: 1.747 MB / 0.5625 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.3999, allocations: 1.045 MB / 0.5635 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.708e-05/0.4, allocations: 11.88 kB / 0.5635 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.4003, allocations: 39.77 kB / 0.5636 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003447/0.4007, allocations: 95.59 kB / 0.5637 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.4009, allocations: 79.67 kB / 0.5637 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.4011, allocations: 103.7 kB / 0.5638 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.4012, allocations: 9.828 kB / 0.5638 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.4013, allocations: 47.67 kB / 0.5639 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.4014, allocations: 43.83 kB / 0.5639 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.4015, allocations: 4 kB / 0.5639 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.4016, allocations: 39.98 kB / 0.564 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.386e-05/0.4016, allocations: 19.92 kB / 0.564 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.71e-05/0.4017, allocations: 35.73 kB / 0.564 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.4019, allocations: 123.4 kB / 0.5641 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.4019, allocations: 3.938 kB / 0.5642 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4019, allocations: 0 / 0.5642 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.4019, allocations: 4 kB / 0.5642 GB, free: 0.8008 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.0005767/0.4025, allocations: 341.6 kB / 0.5645 GB, free: 448 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.4026, allocations: 16.03 kB / 0.5645 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.576e-05/0.4026, allocations: 34.73 kB / 0.5645 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.435e-05/0.4027, allocations: 8.891 kB / 0.5645 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/0.403, allocations: 158.9 kB / 0.5647 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.403, allocations: 384 / 0.5647 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.403, allocations: 4.375 kB / 0.5647 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.4032, allocations: 61.73 kB / 0.5648 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.4032, allocations: 0 / 0.5648 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.4032, allocations: 0 / 0.5648 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.4032, allocations: 8 kB / 0.5648 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.844e-05/0.4033, allocations: 15.98 kB / 0.5648 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000457/0.4038, allocations: 260 kB / 0.565 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.4039, allocations: 58.61 kB / 0.5651 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.494e-05/0.404, allocations: 16.86 kB / 0.5651 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.404, allocations: 4 kB / 0.5651 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001879/0.4042, allocations: 71.38 kB / 0.5652 GB, free: 15.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.4042, allocations: 0 / 0.5652 GB, free: 15.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005798/0.4048, allocations: 173.3 kB / 0.5653 GB, free: 15.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.045e-05/0.4049, allocations: 51.41 kB / 0.5654 GB, free: 15.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.4051, allocations: 202.3 kB / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.4051, allocations: 33.69 kB / 0.5656 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.325e-05/0.4052, allocations: 104.1 kB / 0.5657 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.4052, allocations: 23.78 kB / 0.5657 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.4053, allocations: 29.66 kB / 0.5658 GB, free: 14.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.4054, allocations: 326.8 kB / 0.5661 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.579e-05/0.4055, allocations: 23.98 kB / 0.5661 GB, free: 14.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.189e-05/0.4056, allocations: 37.64 kB / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.4057, allocations: 65.69 kB / 0.5662 GB, free: 14.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4057, allocations: 0 / 0.5662 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002565/0.406, allocations: 101.9 kB / 0.5663 GB, free: 14.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.406, allocations: 8 kB / 0.5663 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.406, allocations: 0 / 0.5663 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.406, allocations: 0 / 0.5663 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.871e-05/0.4061, allocations: 19.98 kB / 0.5663 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.4061, allocations: 0 / 0.5663 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.344e-05/0.4061, allocations: 8.031 kB / 0.5663 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.4062, allocations: 8 kB / 0.5663 GB, free: 14.37 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.0001269/0.4063, allocations: 131 kB / 0.5665 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.4063, allocations: 11.91 kB / 0.5665 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002849/0.4066, allocations: 119.2 kB / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.4066, allocations: 0 / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4066, allocations: 0 / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.4066, allocations: 0 / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000488/0.4071, allocations: 370.3 kB / 0.5669 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4071, allocations: 0 / 0.5669 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.513e-05/0.4071, allocations: 11.98 kB / 0.5669 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.4071, allocations: 0 / 0.5669 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.4072, allocations: 4 kB / 0.5669 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.4072, allocations: 3.938 kB / 0.567 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.4072, allocations: 3.938 kB / 0.567 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.4075, allocations: 212.2 kB / 0.5672 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.906e-05/0.4075, allocations: 7.953 kB / 0.5672 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.4075, allocations: 4 kB / 0.5672 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.442e-05/0.4076, allocations: 11.92 kB / 0.5672 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.4076, allocations: 4 kB / 0.5672 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.4076, allocations: 7.984 kB / 0.5672 GB, free: 13.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001462/0.4078, allocations: 144.2 kB / 0.5673 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4078, allocations: 4 kB / 0.5673 GB, free: 13.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.408, allocations: 27.92 kB / 0.5674 GB, free: 13.21 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 (8): * Single equations (assignments): 6 * 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.002248/0.4103, allocations: 1.081 MB / 0.5684 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001896/0.4105, allocations: 59.84 kB / 0.5685 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4105, allocations: 0 / 0.5685 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.748e-05/0.4106, allocations: 28.14 kB / 0.5685 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.4109, allocations: 30.45 kB / 0.5685 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.4129, allocations: 1.669 MB / 0.5702 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.4133, allocations: 0.7041 MB / 0.5708 GB, free: 9.664 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.669e-05/0.4134, allocations: 20.97 kB / 0.5709 GB, free: 9.645 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.247e-05/0.4134, allocations: 35.42 kB / 0.5709 GB, free: 9.609 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.4134, allocations: 0 / 0.5709 GB, free: 9.609 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.032/0.4454, allocations: 3.617 MB / 0.5744 GB, free: 6.031 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.48, allocations: 0 / 0.5744 GB, free: 6.031 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.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: 14.585945619968697]