Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.001398/0.001398, allocations: 112.5 kB / 21.22 MB, free: 0.75 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.001613/0.001613, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.504/1.504, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.2434/0.2434, allocations: 46.93 MB / 361.6 MB, free: 4.277 MB / 286.1 MB " [Timeout remaining time 180] 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.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 67.89 kB / 0.497 GB, free: 7.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.3996, allocations: 66.04 MB / 0.5615 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003768/0.4034, allocations: 1.729 MB / 0.5632 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.4054, allocations: 1.049 MB / 0.5642 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.4055, allocations: 3.938 kB / 0.5642 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003506/0.4058, allocations: 39.77 kB / 0.5643 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004045/0.4062, allocations: 95.59 kB / 0.5643 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.4065, allocations: 79.66 kB / 0.5644 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.4067, allocations: 107.7 kB / 0.5645 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.4068, allocations: 17.75 kB / 0.5645 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.4069, allocations: 39.8 kB / 0.5646 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.327e-05/0.407, allocations: 35.83 kB / 0.5646 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.407, allocations: 4 kB / 0.5646 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.4071, allocations: 39.98 kB / 0.5647 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.983e-05/0.4072, allocations: 19.92 kB / 0.5647 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.164e-05/0.4073, allocations: 39.67 kB / 0.5647 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.4075, allocations: 115.5 kB / 0.5648 GB, free: 1.016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4075, allocations: 0 / 0.5648 GB, free: 1.016 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4075, allocations: 4 kB / 0.5648 GB, free: 1.012 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.4075, allocations: 0 / 0.5648 GB, free: 1.012 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.0006009/0.4081, allocations: 333.6 kB / 0.5651 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.4082, allocations: 12.03 kB / 0.5652 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.255e-05/0.4082, allocations: 4.188 kB / 0.5652 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.59e-05/0.4083, allocations: 34.73 kB / 0.5652 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.818e-05/0.4083, allocations: 8.891 kB / 0.5652 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/0.4087, allocations: 154.3 kB / 0.5653 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.4087, allocations: 8.125 kB / 0.5654 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.4087, allocations: 4 kB / 0.5654 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.4089, allocations: 53.67 kB / 0.5654 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.4089, allocations: 0 / 0.5654 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.4089, allocations: 0 / 0.5654 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.4089, allocations: 4 kB / 0.5654 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.396e-05/0.409, allocations: 23.92 kB / 0.5654 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003894/0.4094, allocations: 259.9 kB / 0.5657 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.4096, allocations: 62.61 kB / 0.5657 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.424e-05/0.4096, allocations: 16.86 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.4096, allocations: 0 / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/0.4098, allocations: 67.38 kB / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.4098, allocations: 8 kB / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000556/0.4104, allocations: 165.4 kB / 0.566 GB, free: 15.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/0.4104, allocations: 55.41 kB / 0.566 GB, free: 15.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.4106, allocations: 182.1 kB / 0.5662 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.4106, allocations: 25.7 kB / 0.5662 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.332e-05/0.4107, allocations: 96.14 kB / 0.5663 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.4107, allocations: 27.78 kB / 0.5664 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.4108, allocations: 21.66 kB / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.4109, allocations: 326.8 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.925e-05/0.411, allocations: 23.98 kB / 0.5667 GB, free: 14.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.713e-05/0.411, allocations: 33.7 kB / 0.5667 GB, free: 14.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.4112, allocations: 61.69 kB / 0.5668 GB, free: 14.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.4112, allocations: 0 / 0.5668 GB, free: 14.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001998/0.4114, allocations: 105.6 kB / 0.5669 GB, free: 14.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.4114, allocations: 12.03 kB / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4114, allocations: 0 / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.4114, allocations: 0 / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.452e-05/0.4115, allocations: 16.36 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.4115, allocations: 11.88 kB / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.806e-05/0.4116, allocations: 4 kB / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.4116, allocations: 8 kB / 0.567 GB, free: 14.62 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.0001116/0.4117, allocations: 128.5 kB / 0.5671 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.4117, allocations: 11.95 kB / 0.5671 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002641/0.412, allocations: 114.3 kB / 0.5672 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.412, allocations: 0 / 0.5672 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.412, allocations: 3.938 kB / 0.5672 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.412, allocations: 0 / 0.5672 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004634/0.4124, allocations: 358.4 kB / 0.5675 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4124, allocations: 0 / 0.5675 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.85e-05/0.4125, allocations: 15.94 kB / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.75e-06/0.4125, allocations: 12.09 kB / 0.5676 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.4125, allocations: 3.984 kB / 0.5676 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.4125, allocations: 7.938 kB / 0.5676 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4125, allocations: 0 / 0.5676 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.4128, allocations: 200.3 kB / 0.5678 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.179e-05/0.4128, allocations: 15.84 kB / 0.5678 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.4128, allocations: 0 / 0.5678 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.819e-05/0.4129, allocations: 8 kB / 0.5678 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.4129, allocations: 3.984 kB / 0.5678 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.4129, allocations: 11.94 kB / 0.5678 GB, free: 13.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.413, allocations: 132.1 kB / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.413, allocations: 0 / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.4133, allocations: 23.94 kB / 0.568 GB, free: 13.5 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.002152/0.4154, allocations: 1.085 MB / 0.569 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.4156, allocations: 59.91 kB / 0.5691 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.4156, allocations: 4 kB / 0.5691 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.016e-05/0.4157, allocations: 23.92 kB / 0.5691 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.4161, allocations: 40.86 kB / 0.5691 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.418, allocations: 1.59 MB / 0.5707 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.4183, allocations: 0.7079 MB / 0.5714 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.872e-05/0.4183, allocations: 25.2 kB / 0.5714 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.851e-05/0.4184, allocations: 31.42 kB / 0.5714 GB, free: 9.977 MB / 414.1 MB Notification: Performance of SimCode: time 7.32e-07/0.4184, allocations: 4 kB / 0.5714 GB, free: 9.973 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.4438, allocations: 3.53 MB / 0.5749 GB, free: 6.516 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.62, allocations: 4.062 kB / 0.5749 GB, free: 6.512 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.820830051030498]