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.001379/0.001379, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001388/0.001388, allocations: 199.9 kB / 18.74 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.415/1.415, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2251/0.2251, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 75.88 kB / 480.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4084/0.4099, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.00321/0.4132, allocations: 1.621 MB / 0.5321 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.4143, allocations: 0.5469 MB / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.591e-05/0.4144, allocations: 1.375 kB / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003116/0.4147, allocations: 76.03 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003084/0.415, allocations: 103.6 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003514/0.4154, allocations: 114.3 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.4156, allocations: 80.3 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.4157, allocations: 24.81 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.771e-05/0.4158, allocations: 27.11 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.416, allocations: 51.19 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.416, allocations: 2.75 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.4161, allocations: 42.23 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.692e-05/0.4162, allocations: 26.78 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.314e-05/0.4162, allocations: 33.19 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.4165, allocations: 104.4 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4165, allocations: 0 / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.4165, allocations: 1.375 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.4165, allocations: 3.938 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.0006037/0.4171, allocations: 414.3 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.4172, allocations: 9.625 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.519e-05/0.4172, allocations: 36.12 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.343e-05/0.4173, allocations: 12.97 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.4175, allocations: 204.5 kB / 0.534 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.4175, allocations: 1.75 kB / 0.534 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.4176, allocations: 5.734 kB / 0.534 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.4178, allocations: 63.34 kB / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.4178, allocations: 5.375 kB / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.4178, allocations: 0 / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.4178, allocations: 1.375 kB / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.4179, allocations: 27.09 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004755/0.4184, allocations: 303 kB / 0.5344 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.4185, allocations: 48.36 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.471e-05/0.4186, allocations: 21.11 kB / 0.5344 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.4186, allocations: 1.375 kB / 0.5344 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.4187, allocations: 30.66 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.4187, allocations: 0 / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000939/0.4196, allocations: 242.4 kB / 0.5347 GB, free: 9.996 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.4197, allocations: 56.5 kB / 0.5347 GB, free: 9.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.4199, allocations: 211.6 kB / 0.5349 GB, free: 9.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.4199, allocations: 27.05 kB / 0.535 GB, free: 9.738 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.557e-05/0.42, allocations: 104.5 kB / 0.5351 GB, free: 9.637 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.42, allocations: 31.72 kB / 0.5351 GB, free: 9.609 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.42, allocations: 19.59 kB / 0.5351 GB, free: 9.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.4202, allocations: 330.4 kB / 0.5354 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.515e-05/0.4203, allocations: 32.38 kB / 0.5355 GB, free: 9.246 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.645e-05/0.4203, allocations: 28.73 kB / 0.5355 GB, free: 9.234 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.4205, allocations: 73.59 kB / 0.5356 GB, free: 9.195 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.4205, allocations: 0 / 0.5356 GB, free: 9.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002203/0.4208, allocations: 109 kB / 0.5357 GB, free: 9.129 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.4208, allocations: 9.719 kB / 0.5357 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.4208, allocations: 0 / 0.5357 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.4208, allocations: 1.125 kB / 0.5357 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.4209, allocations: 21.61 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.4209, allocations: 5.031 kB / 0.5357 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.533e-05/0.421, allocations: 7.172 kB / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.421, allocations: 2 kB / 0.5357 GB, free: 9.109 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 9.979e-05/0.4211, allocations: 131.8 kB / 0.5358 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.4211, allocations: 13.47 kB / 0.5358 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000297/0.4214, allocations: 133.7 kB / 0.536 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.4215, allocations: 1.125 kB / 0.536 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.4215, allocations: 3.938 kB / 0.536 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4215, allocations: 5.141 kB / 0.536 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005335/0.422, allocations: 417.9 kB / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.422, allocations: 5.781 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.323e-05/0.4221, allocations: 17.69 kB / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4221, allocations: 0 / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.4221, allocations: 9.359 kB / 0.5364 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.4221, allocations: 1.375 kB / 0.5364 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4222, allocations: 1.375 kB / 0.5364 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.4225, allocations: 216.5 kB / 0.5366 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-05/0.4225, allocations: 91.61 kB / 0.5367 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.4226, allocations: 1.469 kB / 0.5367 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.616e-05/0.4226, allocations: 7.766 kB / 0.5367 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.4227, allocations: 10.91 kB / 0.5367 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.4227, allocations: 7.125 kB / 0.5367 GB, free: 8.156 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001554/0.4229, allocations: 149.2 kB / 0.5369 GB, free: 8.055 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4229, allocations: 4.969 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.4231, allocations: 22.17 kB / 0.5369 GB, free: 8.043 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.001483/0.4246, allocations: 1.102 MB / 0.538 GB, free: 7.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000227/0.4249, allocations: 75.5 kB / 0.538 GB, free: 7.148 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4249, allocations: 0 / 0.538 GB, free: 7.148 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.425, allocations: 43.36 kB / 0.5381 GB, free: 7.129 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.4253, allocations: 16.39 kB / 0.5381 GB, free: 7.121 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.4272, allocations: 1.683 MB / 0.5397 GB, free: 5.672 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.4275, allocations: 0.7069 MB / 0.5404 GB, free: 4.961 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.859e-05/0.4276, allocations: 20.11 kB / 0.5405 GB, free: 4.953 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.068e-05/0.4276, allocations: 37.73 kB / 0.5405 GB, free: 4.922 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4276, allocations: 1.812 kB / 0.5405 GB, free: 4.922 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02148/0.4491, allocations: 3.079 MB / 0.5435 GB, free: 3.234 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.818/8.267, allocations: 16.05 kB / 0.5435 GB, free: 3.227 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