Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.001438/0.001438, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001547/0.001547, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.472/1.472, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2267/0.2267, allocations: 44.91 MB / 358.8 MB, free: 6.285 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",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.002289/0.002289, allocations: 75.88 kB / 0.4931 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.384, allocations: 65.47 MB / 0.557 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.004675/0.3887, allocations: 1.695 MB / 0.5587 GB, free: 6.078 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.3899, allocations: 0.5698 MB / 0.5593 GB, free: 5.504 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.721e-05/0.39, allocations: 0 / 0.5593 GB, free: 5.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003163/0.3903, allocations: 75.7 kB / 0.5593 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003919/0.3907, allocations: 111.6 kB / 0.5594 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.3911, allocations: 123.5 kB / 0.5596 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000229/0.3914, allocations: 99.67 kB / 0.5597 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.3915, allocations: 18.05 kB / 0.5597 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.127e-05/0.3916, allocations: 43.83 kB / 0.5597 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.3917, allocations: 55.83 kB / 0.5598 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.3917, allocations: 7.938 kB / 0.5598 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.3919, allocations: 59.95 kB / 0.5598 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.768e-05/0.392, allocations: 23.86 kB / 0.5599 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.712e-05/0.392, allocations: 35.75 kB / 0.5599 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002889/0.3923, allocations: 131.3 kB / 0.56 GB, free: 4.734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3923, allocations: 0 / 0.56 GB, free: 4.734 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3923, allocations: 0 / 0.56 GB, free: 4.734 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.3923, allocations: 4 kB / 0.56 GB, free: 4.73 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006648/0.393, allocations: 353.5 kB / 0.5604 GB, free: 4.355 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.393, allocations: 12.03 kB / 0.5604 GB, free: 4.344 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.698e-05/0.3931, allocations: 38.73 kB / 0.5604 GB, free: 4.297 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.729e-05/0.3932, allocations: 16.84 kB / 0.5604 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.3934, allocations: 142.3 kB / 0.5606 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.3934, allocations: 384 / 0.5606 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.3934, allocations: 8.375 kB / 0.5606 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.3937, allocations: 65.61 kB / 0.5606 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.3937, allocations: 4 kB / 0.5606 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.3937, allocations: 0 / 0.5606 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3937, allocations: 0 / 0.5606 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.3939, allocations: 47.89 kB / 0.5607 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004874/0.3943, allocations: 283.8 kB / 0.5609 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.3946, allocations: 54.55 kB / 0.561 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.279e-05/0.3947, allocations: 29 kB / 0.561 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.3947, allocations: 0 / 0.561 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.3947, allocations: 38.56 kB / 0.5611 GB, free: 3.527 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 3.306e-06/0.3947, allocations: 3.984 kB / 0.5611 GB, free: 3.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001464/0.3962, allocations: 401.3 kB / 0.5614 GB, free: 3.125 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.3963, allocations: 51.41 kB / 0.5615 GB, free: 3.062 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.3965, allocations: 234.6 kB / 0.5617 GB, free: 2.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.3965, allocations: 25.7 kB / 0.5617 GB, free: 2.789 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.3967, allocations: 112.1 kB / 0.5618 GB, free: 2.676 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.748e-05/0.3967, allocations: 35.7 kB / 0.5619 GB, free: 2.641 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.848e-05/0.3967, allocations: 29.7 kB / 0.5619 GB, free: 2.605 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.3969, allocations: 326.8 kB / 0.5622 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.3971, allocations: 39.97 kB / 0.5623 GB, free: 2.238 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.3972, allocations: 43.91 kB / 0.5623 GB, free: 2.195 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.3974, allocations: 112.8 kB / 0.5624 GB, free: 2.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3974, allocations: 4 kB / 0.5624 GB, free: 2.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003163/0.3977, allocations: 137.5 kB / 0.5625 GB, free: 1.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.3978, allocations: 4 kB / 0.5625 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.3978, allocations: 4 kB / 0.5626 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.3978, allocations: 3.938 kB / 0.5626 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.3979, allocations: 39.91 kB / 0.5626 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3979, allocations: 0 / 0.5626 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.001e-05/0.398, allocations: 11.98 kB / 0.5626 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.954e-06/0.398, allocations: 3.938 kB / 0.5626 GB, free: 1.871 MB / 398.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 (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.0001269/0.3981, allocations: 129.8 kB / 0.5627 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/0.3982, allocations: 15.91 kB / 0.5627 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003897/0.3986, allocations: 163 kB / 0.5629 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.3986, allocations: 3.938 kB / 0.5629 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3986, allocations: 0 / 0.5629 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3986, allocations: 0 / 0.5629 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006819/0.3993, allocations: 455.1 kB / 0.5633 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3993, allocations: 0 / 0.5633 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.3994, allocations: 27.92 kB / 0.5634 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.3994, allocations: 4 kB / 0.5634 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.3994, allocations: 0 / 0.5634 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.3994, allocations: 4 kB / 0.5634 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3994, allocations: 3.984 kB / 0.5634 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003975/0.3998, allocations: 261 kB / 0.5636 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.636e-05/0.3998, allocations: 15.89 kB / 0.5636 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.3998, allocations: 4 kB / 0.5636 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.937e-05/0.3999, allocations: 11.98 kB / 0.5637 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.4, allocations: 11.98 kB / 0.5637 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.056e-06/0.4, allocations: 8 kB / 0.5637 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001497/0.4001, allocations: 160.3 kB / 0.5638 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4001, allocations: 0 / 0.5638 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.4004, allocations: 27.92 kB / 0.5639 GB, free: 0.4922 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (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 Backend phase and start with SimCode phase: time 0.002344/0.4027, allocations: 1.158 MB / 0.565 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003338/0.4031, allocations: 103.8 kB / 0.5651 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.4031, allocations: 4 kB / 0.5651 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.4032, allocations: 55.89 kB / 0.5651 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.4036, allocations: 22.08 kB / 0.5652 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/0.4061, allocations: 1.886 MB / 0.567 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.4064, allocations: 0.708 MB / 0.5677 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.286e-05/0.4065, allocations: 20.48 kB / 0.5677 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.404e-05/0.4066, allocations: 39.42 kB / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4066, allocations: 0 / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02986/0.4364, allocations: 3.682 MB / 0.5714 GB, free: 8.922 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.6, allocations: 7.219 kB / 0.5714 GB, free: 8.918 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test30_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.603346700081602]