Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.001753/0.001753, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002122/0.002122, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.544/1.544, allocations: 230.6 MB / 258.3 MB, free: 7.809 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.2534/0.2534, allocations: 46.96 MB / 361.7 MB, free: 4.078 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.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 67.89 kB / 0.4969 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4093, allocations: 66.03 MB / 0.5614 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003356/0.4126, allocations: 1.597 MB / 0.5629 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.4137, allocations: 0.5232 MB / 0.5634 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.484e-05/0.4137, allocations: 7.938 kB / 0.5634 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.4139, allocations: 15.86 kB / 0.5635 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002714/0.4142, allocations: 79.67 kB / 0.5635 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.4145, allocations: 119.4 kB / 0.5637 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000166/0.4147, allocations: 67.78 kB / 0.5637 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.4148, allocations: 9.812 kB / 0.5637 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.336e-05/0.4148, allocations: 19.92 kB / 0.5637 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.605e-05/0.4149, allocations: 23.86 kB / 0.5638 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.4149, allocations: 11.94 kB / 0.5638 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.891e-05/0.415, allocations: 35.98 kB / 0.5638 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.332e-05/0.4151, allocations: 15.92 kB / 0.5638 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.568e-05/0.4151, allocations: 19.86 kB / 0.5638 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.4153, allocations: 75.67 kB / 0.5639 GB, free: 1.652 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.4153, allocations: 0 / 0.5639 GB, free: 1.652 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4153, allocations: 0 / 0.5639 GB, free: 1.652 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.4153, allocations: 4 kB / 0.5639 GB, free: 1.648 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000555/0.4159, allocations: 309.8 kB / 0.5642 GB, free: 1.316 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.4159, allocations: 8.031 kB / 0.5642 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.907e-05/0.4159, allocations: 8.188 kB / 0.5642 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.787e-05/0.416, allocations: 34.69 kB / 0.5643 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.416, allocations: 8.891 kB / 0.5643 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.4162, allocations: 134.4 kB / 0.5644 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.4162, allocations: 4.375 kB / 0.5644 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.4163, allocations: 8.125 kB / 0.5644 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.4164, allocations: 45.69 kB / 0.5645 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.4164, allocations: 0 / 0.5645 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.4164, allocations: 0 / 0.5645 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.4164, allocations: 0 / 0.5645 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.4166, allocations: 31.97 kB / 0.5645 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004431/0.417, allocations: 251.9 kB / 0.5647 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.4173, allocations: 42.66 kB / 0.5648 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.902e-05/0.4173, allocations: 16.84 kB / 0.5648 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.4174, allocations: 0 / 0.5648 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.4174, allocations: 30.56 kB / 0.5648 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.4174, allocations: 3.938 kB / 0.5648 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006893/0.4181, allocations: 157.4 kB / 0.565 GB, free: 448 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.4181, allocations: 51.41 kB / 0.565 GB, free: 384 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.4183, allocations: 156.5 kB / 0.5652 GB, free: 216 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.4183, allocations: 29.7 kB / 0.5652 GB, free: 180 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.307e-05/0.4184, allocations: 96.06 kB / 0.5653 GB, free: 80 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.4184, allocations: 19.86 kB / 0.5653 GB, free: 60 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.4185, allocations: 13.72 kB / 0.5653 GB, free: 40 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.4187, allocations: 326.8 kB / 0.5656 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.362e-05/0.4187, allocations: 19.98 kB / 0.5656 GB, free: 15.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.489e-05/0.4188, allocations: 27.92 kB / 0.5657 GB, free: 15.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.419, allocations: 56.81 kB / 0.5657 GB, free: 15.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.419, allocations: 0 / 0.5657 GB, free: 15.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002036/0.4192, allocations: 85.81 kB / 0.5658 GB, free: 15.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.4192, allocations: 4 kB / 0.5658 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.4192, allocations: 0 / 0.5658 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.55e-05/0.4192, allocations: 4 kB / 0.5658 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.282e-05/0.4193, allocations: 20.2 kB / 0.5658 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.4193, allocations: 0 / 0.5658 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.557e-05/0.4193, allocations: 11.92 kB / 0.5659 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.4193, allocations: 0 / 0.5659 GB, free: 15.48 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.000103/0.4194, allocations: 117.8 kB / 0.566 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-05/0.4195, allocations: 7.953 kB / 0.566 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000289/0.4198, allocations: 98.03 kB / 0.5661 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.4198, allocations: 4 kB / 0.5661 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4198, allocations: 4 kB / 0.5661 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.4198, allocations: 3.938 kB / 0.5661 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004768/0.4203, allocations: 325.6 kB / 0.5664 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4203, allocations: 0 / 0.5664 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.178e-05/0.4203, allocations: 15.98 kB / 0.5664 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4203, allocations: 0 / 0.5664 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.4203, allocations: 3.938 kB / 0.5664 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4203, allocations: 0 / 0.5664 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4203, allocations: 0 / 0.5664 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.4206, allocations: 191.4 kB / 0.5666 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.293e-05/0.4206, allocations: 7.953 kB / 0.5666 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.4206, allocations: 4.188 kB / 0.5666 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/0.4207, allocations: 8 kB / 0.5666 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.4207, allocations: 3.984 kB / 0.5666 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.4207, allocations: 8 kB / 0.5666 GB, free: 14.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.4208, allocations: 115.2 kB / 0.5667 GB, free: 14.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4208, allocations: 0 / 0.5667 GB, free: 14.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002448/0.4211, allocations: 19.88 kB / 0.5667 GB, free: 14.46 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.002114/0.4232, allocations: 1.048 MB / 0.5678 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000215/0.4234, allocations: 51.91 kB / 0.5678 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.4234, allocations: 4 kB / 0.5678 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.339e-05/0.4235, allocations: 31.91 kB / 0.5679 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.4239, allocations: 18.78 kB / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.4258, allocations: 1.466 MB / 0.5693 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.408e-05/0.4258, allocations: 83.06 kB / 0.5694 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.09e-05/0.4259, allocations: 23.77 kB / 0.5694 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.453e-05/0.426, allocations: 23.44 kB / 0.5694 GB, free: 11.78 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.426, allocations: 0 / 0.5694 GB, free: 11.78 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02198/0.4479, allocations: 2.8 MB / 0.5722 GB, free: 9.039 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.79, allocations: 4.062 kB / 0.5722 GB, free: 9.035 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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: 15.091873880010098]