Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001153/0.001153, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001255/0.001255, allocations: 201.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.205/0.205, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 76.2 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.288, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002954/0.291, allocations: 1.626 MB / 0.5321 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008833/0.2919, allocations: 0.5505 MB / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.14e-05/0.292, allocations: 0 / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002726/0.2923, allocations: 72.59 kB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002744/0.2926, allocations: 97.19 kB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.2929, allocations: 122.9 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.2931, allocations: 78.92 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.2932, allocations: 21.92 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.213e-05/0.2932, allocations: 30.09 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.2934, allocations: 51.75 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.2934, allocations: 3.469 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.451e-05/0.2935, allocations: 44.61 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.949e-05/0.2935, allocations: 19.64 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.767e-05/0.2936, allocations: 33.31 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.2938, allocations: 104.5 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2938, allocations: 5.281 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2938, allocations: 0 / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.2938, allocations: 4 kB / 0.5333 GB, free: 11.32 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.0004205/0.2942, allocations: 418.7 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.2943, allocations: 9.406 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.491e-05/0.2943, allocations: 35.97 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.165e-05/0.2943, allocations: 13.97 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.2945, allocations: 202.5 kB / 0.534 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.2945, allocations: 2.094 kB / 0.534 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.2946, allocations: 3.219 kB / 0.534 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.2947, allocations: 62.58 kB / 0.534 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.2947, allocations: 3.984 kB / 0.534 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.2947, allocations: 1.906 kB / 0.534 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.2947, allocations: 0 / 0.534 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.416e-05/0.2948, allocations: 27.97 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/0.2952, allocations: 306.7 kB / 0.5344 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.2953, allocations: 48.08 kB / 0.5344 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.622e-05/0.2954, allocations: 17.83 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.2954, allocations: 0 / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.2954, allocations: 31.94 kB / 0.5344 GB, free: 10.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.2954, allocations: 0 / 0.5344 GB, free: 10.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008325/0.2963, allocations: 241.8 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.2963, allocations: 56.72 kB / 0.5347 GB, free: 9.938 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.2965, allocations: 207.9 kB / 0.5349 GB, free: 9.781 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.2965, allocations: 31.02 kB / 0.535 GB, free: 9.746 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.018e-05/0.2966, allocations: 104.2 kB / 0.5351 GB, free: 9.645 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.2966, allocations: 27.88 kB / 0.5351 GB, free: 9.621 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.2967, allocations: 23.22 kB / 0.5351 GB, free: 9.598 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.491e-05/0.2968, allocations: 323 kB / 0.5354 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.306e-05/0.2968, allocations: 36.47 kB / 0.5355 GB, free: 9.258 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.992e-05/0.2969, allocations: 28.48 kB / 0.5355 GB, free: 9.246 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.2971, allocations: 82.22 kB / 0.5356 GB, free: 9.199 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.2971, allocations: 0 / 0.5356 GB, free: 9.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002075/0.2973, allocations: 113.7 kB / 0.5357 GB, free: 9.129 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.2973, allocations: 4.125 kB / 0.5357 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.2973, allocations: 1.375 kB / 0.5357 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.2973, allocations: 0 / 0.5357 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.331e-05/0.2974, allocations: 17.73 kB / 0.5357 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.2975, allocations: 5.312 kB / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.219e-05/0.2975, allocations: 10.73 kB / 0.5357 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.2975, allocations: 2.75 kB / 0.5357 GB, free: 9.113 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 (8): * Single equations (assignments): 8 * 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 8.353e-05/0.2976, allocations: 131.5 kB / 0.5358 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.602e-05/0.2977, allocations: 17.34 kB / 0.5358 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002791/0.2979, allocations: 125 kB / 0.536 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.298, allocations: 1.031 kB / 0.536 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.298, allocations: 5.031 kB / 0.536 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.298, allocations: 3.984 kB / 0.536 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004809/0.2985, allocations: 419 kB / 0.5364 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.2985, allocations: 3.984 kB / 0.5364 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.846e-05/0.2986, allocations: 17.72 kB / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2986, allocations: 1.125 kB / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.2986, allocations: 10.02 kB / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2986, allocations: 0.8125 kB / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2986, allocations: 0 / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.2988, allocations: 221.1 kB / 0.5366 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.158e-05/0.2989, allocations: 88.28 kB / 0.5367 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.2989, allocations: 1.062 kB / 0.5367 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.733e-05/0.299, allocations: 7.422 kB / 0.5367 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.299, allocations: 3.281 kB / 0.5367 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.2991, allocations: 15.34 kB / 0.5367 GB, free: 8.164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001104/0.2992, allocations: 150.4 kB / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2992, allocations: 4 kB / 0.5369 GB, free: 8.059 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.2994, allocations: 22.52 kB / 0.5369 GB, free: 8.051 MB / 398.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001349/0.3008, allocations: 1.101 MB / 0.538 GB, free: 7.188 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002142/0.301, allocations: 75.59 kB / 0.538 GB, free: 7.156 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.301, allocations: 0 / 0.538 GB, free: 7.156 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.955e-05/0.3011, allocations: 40.23 kB / 0.5381 GB, free: 7.141 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.3015, allocations: 25.84 kB / 0.5381 GB, free: 7.129 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/0.3032, allocations: 1.679 MB / 0.5397 GB, free: 5.684 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.3034, allocations: 0.7066 MB / 0.5404 GB, free: 4.973 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.616e-05/0.3035, allocations: 24.91 kB / 0.5405 GB, free: 4.961 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/0.3035, allocations: 33.86 kB / 0.5405 GB, free: 4.934 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3036, allocations: 0 / 0.5405 GB, free: 4.934 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.3216, allocations: 3.084 MB / 0.5435 GB, free: 3.242 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.68/8.002, allocations: 5.469 kB / 0.5435 GB, free: 3.238 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches