Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 214.7 kB / 24.52 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.506/1.506, allocations: 230.6 MB / 258.3 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2389/0.2389, allocations: 46.96 MB / 361.7 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 63.91 kB / 0.4969 GB, free: 7.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3901, allocations: 66.02 MB / 0.5614 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003716/0.3938, allocations: 1.71 MB / 0.5631 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002808/0.3966, allocations: 1.669 MB / 0.5647 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.601e-05/0.3967, allocations: 0 / 0.5647 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000294/0.397, allocations: 35.77 kB / 0.5648 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004235/0.3974, allocations: 103.5 kB / 0.5649 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002438/0.3976, allocations: 75.67 kB / 0.5649 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000219/0.3979, allocations: 115.7 kB / 0.565 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.398, allocations: 17.81 kB / 0.5651 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.463e-05/0.398, allocations: 51.78 kB / 0.5651 GB, free: 452 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.3982, allocations: 47.78 kB / 0.5651 GB, free: 404 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.3982, allocations: 4 kB / 0.5651 GB, free: 400 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.3984, allocations: 99.94 kB / 0.5652 GB, free: 300 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.548e-05/0.3985, allocations: 27.91 kB / 0.5653 GB, free: 272 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.173e-05/0.3986, allocations: 35.73 kB / 0.5653 GB, free: 236 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003204/0.3989, allocations: 179.4 kB / 0.5655 GB, free: 56 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3989, allocations: 0 / 0.5655 GB, free: 56 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3989, allocations: 0 / 0.5655 GB, free: 56 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.3989, allocations: 0 / 0.5655 GB, free: 56 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006155/0.3995, allocations: 361.5 kB / 0.5658 GB, free: 15.67 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3995, allocations: 16.02 kB / 0.5658 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.756e-05/0.3996, allocations: 4.188 kB / 0.5658 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.658e-05/0.3996, allocations: 30.75 kB / 0.5659 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.707e-05/0.3996, allocations: 12.83 kB / 0.5659 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.3999, allocations: 152 kB / 0.566 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.4, allocations: 16.11 kB / 0.566 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.4, allocations: 0 / 0.566 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.4002, allocations: 105.1 kB / 0.5661 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.4002, allocations: 3.953 kB / 0.5661 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.4002, allocations: 4 kB / 0.5661 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.4002, allocations: 7.938 kB / 0.5662 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.4003, allocations: 35.91 kB / 0.5662 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/0.4008, allocations: 267.9 kB / 0.5664 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.401, allocations: 62.67 kB / 0.5665 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.542e-05/0.4011, allocations: 28.84 kB / 0.5665 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.4011, allocations: 3.984 kB / 0.5665 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00018/0.4013, allocations: 79.39 kB / 0.5666 GB, free: 14.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.4013, allocations: 0 / 0.5666 GB, free: 14.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006541/0.4019, allocations: 217.2 kB / 0.5668 GB, free: 14.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.187e-05/0.402, allocations: 85.09 kB / 0.5669 GB, free: 14.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.4022, allocations: 178.1 kB / 0.5671 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.4022, allocations: 29.7 kB / 0.5671 GB, free: 14.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.212e-05/0.4023, allocations: 104.1 kB / 0.5672 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/0.4023, allocations: 31.73 kB / 0.5672 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.742e-05/0.4024, allocations: 21.72 kB / 0.5673 GB, free: 14.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.4025, allocations: 326.8 kB / 0.5676 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.972e-05/0.4026, allocations: 23.98 kB / 0.5676 GB, free: 13.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.4027, allocations: 80.27 kB / 0.5677 GB, free: 13.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.4028, allocations: 73.62 kB / 0.5677 GB, free: 13.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.4028, allocations: 0 / 0.5677 GB, free: 13.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002374/0.4031, allocations: 125.5 kB / 0.5679 GB, free: 13.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.4031, allocations: 8 kB / 0.5679 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.4031, allocations: 192 / 0.5679 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.4031, allocations: 0 / 0.5679 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.4032, allocations: 23.88 kB / 0.5679 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.4032, allocations: 7.922 kB / 0.5679 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.822e-05/0.4033, allocations: 12.06 kB / 0.5679 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.4033, allocations: 0 / 0.5679 GB, free: 13.33 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 (11): * Single equations (assignments): 11 * 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.0001097/0.4034, allocations: 121.8 kB / 0.568 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.4034, allocations: 11.95 kB / 0.568 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003197/0.4038, allocations: 142.7 kB / 0.5682 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.4038, allocations: 0 / 0.5682 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4038, allocations: 3.938 kB / 0.5682 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4038, allocations: 3.984 kB / 0.5682 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005649/0.4043, allocations: 402.4 kB / 0.5686 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4043, allocations: 4.031 kB / 0.5686 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.281e-05/0.4044, allocations: 15.98 kB / 0.5686 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.257e-06/0.4044, allocations: 3.938 kB / 0.5686 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.4044, allocations: 0 / 0.5686 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.4044, allocations: 4 kB / 0.5686 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4044, allocations: 0 / 0.5686 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003086/0.4047, allocations: 232.2 kB / 0.5688 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.56e-05/0.4048, allocations: 15.84 kB / 0.5688 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.4048, allocations: 8 kB / 0.5688 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.782e-05/0.4049, allocations: 7.984 kB / 0.5688 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.4049, allocations: 15.98 kB / 0.5688 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.4049, allocations: 4 kB / 0.5689 GB, free: 12.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001387/0.4051, allocations: 128.1 kB / 0.569 GB, free: 12.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4051, allocations: 0 / 0.569 GB, free: 12.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003295/0.4054, allocations: 55.86 kB / 0.569 GB, free: 12.08 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 (11): * Single equations (assignments): 9 * 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.002691/0.4081, allocations: 1.264 MB / 0.5703 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002417/0.4083, allocations: 79.84 kB / 0.5703 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4083, allocations: 0 / 0.5703 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.873e-05/0.4084, allocations: 35.92 kB / 0.5704 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.4088, allocations: 39.16 kB / 0.5704 GB, free: 10.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.4112, allocations: 1.692 MB / 0.5721 GB, free: 9.121 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.462e-05/0.4113, allocations: 88.19 kB / 0.5721 GB, free: 9.016 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.622e-05/0.4114, allocations: 24.62 kB / 0.5722 GB, free: 8.992 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.4115, allocations: 39.42 kB / 0.5722 GB, free: 8.953 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4115, allocations: 384 / 0.5722 GB, free: 8.953 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03037/0.4419, allocations: 4.643 MB / 0.5767 GB, free: 4.363 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.83, allocations: 3.562 kB / 0.5767 GB, free: 4.363 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.106708637089469]