Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001333/0.001333, allocations: 112.2 kB / 21.22 MB, free: 0.7344 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.002174/0.002174, allocations: 208.4 kB / 24.52 MB, free: 4.141 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.514/1.514, allocations: 230.6 MB / 258.3 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2421/0.2421, allocations: 44.92 MB / 359.6 MB, free: 6.258 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 67.91 kB / 0.4939 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4218/0.4238, allocations: 65.47 MB / 0.5578 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.004977/0.4288, allocations: 1.677 MB / 0.5594 GB, free: 6.094 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.4303, allocations: 0.601 MB / 0.56 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.39e-05/0.4304, allocations: 0 / 0.56 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008194/0.4312, allocations: 455.1 kB / 0.5605 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006182/0.4318, allocations: 291.3 kB / 0.5607 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005166/0.4323, allocations: 174.9 kB / 0.5609 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002946/0.4326, allocations: 179.6 kB / 0.5611 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.4328, allocations: 9.828 kB / 0.5611 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.4329, allocations: 119.7 kB / 0.5612 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003099/0.4332, allocations: 251.5 kB / 0.5614 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.4332, allocations: 4 kB / 0.5614 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.933e-05/0.4333, allocations: 31.98 kB / 0.5615 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.4335, allocations: 79.7 kB / 0.5616 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.4336, allocations: 115 kB / 0.5617 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003799/0.434, allocations: 266.6 kB / 0.5619 GB, free: 3.555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.434, allocations: 0 / 0.5619 GB, free: 3.555 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.434, allocations: 0 / 0.5619 GB, free: 3.555 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.434, allocations: 4 kB / 0.5619 GB, free: 3.551 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008798/0.4348, allocations: 0.5892 MB / 0.5625 GB, free: 2.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.396e-05/0.4349, allocations: 12.03 kB / 0.5625 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.407e-05/0.4349, allocations: 4.188 kB / 0.5625 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.197e-05/0.435, allocations: 30.75 kB / 0.5625 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.962e-05/0.4351, allocations: 48.59 kB / 0.5626 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.4354, allocations: 246.8 kB / 0.5628 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.4355, allocations: 4.375 kB / 0.5628 GB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.307e-05/0.4355, allocations: 12.12 kB / 0.5628 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.4357, allocations: 57.61 kB / 0.5629 GB, free: 2.484 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.4357, allocations: 8 kB / 0.5629 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.4357, allocations: 0 / 0.5629 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.4357, allocations: 0 / 0.5629 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.4359, allocations: 27.97 kB / 0.5629 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007094/0.4366, allocations: 371.7 kB / 0.5633 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/0.4369, allocations: 50.5 kB / 0.5633 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.359e-05/0.4369, allocations: 20.94 kB / 0.5634 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.437, allocations: 0 / 0.5634 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.437, allocations: 30.56 kB / 0.5634 GB, free: 1.922 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.437, allocations: 0 / 0.5634 GB, free: 1.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000788/0.4378, allocations: 244.7 kB / 0.5636 GB, free: 1.676 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.4378, allocations: 55.41 kB / 0.5637 GB, free: 1.609 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009677/0.4388, allocations: 0.8776 MB / 0.5645 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.4388, allocations: 25.7 kB / 0.5645 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/0.439, allocations: 224.1 kB / 0.5648 GB, free: 476 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.439, allocations: 23.8 kB / 0.5648 GB, free: 452 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.607e-05/0.4391, allocations: 25.64 kB / 0.5648 GB, free: 420 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002048/0.4393, allocations: 358.8 kB / 0.5652 GB, free: 52 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.624e-05/0.4394, allocations: 19.98 kB / 0.5652 GB, free: 32 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.972e-05/0.4394, allocations: 27.97 kB / 0.5652 GB, free: 4 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.4396, allocations: 52.77 kB / 0.5652 GB, free: 15.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.4396, allocations: 0 / 0.5652 GB, free: 15.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00025/0.4399, allocations: 125.4 kB / 0.5654 GB, free: 15.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.4399, allocations: 7.984 kB / 0.5654 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.4399, allocations: 0 / 0.5654 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.4399, allocations: 0 / 0.5654 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.013e-05/0.44, allocations: 12 kB / 0.5654 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.44, allocations: 3.938 kB / 0.5654 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.345e-05/0.44, allocations: 11.98 kB / 0.5654 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.4401, allocations: 3.938 kB / 0.5654 GB, free: 15.78 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.0002179/0.4403, allocations: 213.8 kB / 0.5656 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.518e-05/0.4403, allocations: 51.67 kB / 0.5657 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003339/0.4407, allocations: 145.7 kB / 0.5658 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4407, allocations: 0 / 0.5658 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.4407, allocations: 8 kB / 0.5658 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.4407, allocations: 3.984 kB / 0.5658 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006308/0.4413, allocations: 445.5 kB / 0.5662 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4413, allocations: 4 kB / 0.5662 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.833e-05/0.4414, allocations: 11.98 kB / 0.5662 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.4414, allocations: 7.938 kB / 0.5663 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.4414, allocations: 0 / 0.5663 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4414, allocations: 0 / 0.5663 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4414, allocations: 0 / 0.5663 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003239/0.4417, allocations: 219.2 kB / 0.5665 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.084e-05/0.4418, allocations: 35.72 kB / 0.5665 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.052e-05/0.4418, allocations: 11.92 kB / 0.5665 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.959e-05/0.4419, allocations: 4 kB / 0.5665 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.4419, allocations: 7.984 kB / 0.5665 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.4419, allocations: 0 / 0.5665 GB, free: 14.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000727/0.4427, allocations: 0.6628 MB / 0.5672 GB, free: 13.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4427, allocations: 0 / 0.5672 GB, free: 13.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.4429, allocations: 31.88 kB / 0.5672 GB, free: 13.86 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.002117/0.4451, allocations: 1.055 MB / 0.5682 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002478/0.4453, allocations: 51.91 kB / 0.5683 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.4453, allocations: 4 kB / 0.5683 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.673e-05/0.4454, allocations: 27.97 kB / 0.5683 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.4458, allocations: 26.25 kB / 0.5683 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004116/0.4499, allocations: 3.272 MB / 0.5715 GB, free: 9.457 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005335/0.4505, allocations: 0.8337 MB / 0.5723 GB, free: 8.598 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.538e-05/0.4506, allocations: 24.64 kB / 0.5724 GB, free: 8.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.4507, allocations: 115.4 kB / 0.5725 GB, free: 8.457 MB / 414.1 MB Notification: Performance of SimCode: time 6.12e-07/0.4507, allocations: 0 / 0.5725 GB, free: 8.457 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02784/0.4785, allocations: 6.317 MB / 0.5786 GB, free: 2.227 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.27, allocations: 10.23 kB / 0.5787 GB, free: 2.219 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.506196420989]