Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 113.4 kB / 17.73 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 184.1 kB / 18.66 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.278/1.278, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 55.92 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08536/0.08659, allocations: 46.61 MB / 374.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002541/0.08918, allocations: 1.376 MB / 376 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3515/0.4407, allocations: 150.8 MB / 0.5144 GB, free: 7.379 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.625e-05/0.4409, allocations: 0 / 0.5144 GB, free: 7.379 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.683e-05/0.4409, allocations: 9.938 kB / 0.5144 GB, free: 7.371 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.442, allocations: 358.5 kB / 0.5148 GB, free: 7.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001827/0.4438, allocations: 0.8125 MB / 0.5156 GB, free: 6.211 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.4439, allocations: 71.7 kB / 0.5156 GB, free: 6.141 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.947e-05/0.444, allocations: 4 kB / 0.5156 GB, free: 6.137 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.93e-05/0.444, allocations: 43.83 kB / 0.5157 GB, free: 6.094 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.83e-05/0.4441, allocations: 23.92 kB / 0.5157 GB, free: 6.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.4441, allocations: 4 kB / 0.5157 GB, free: 6.066 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002271/0.4464, allocations: 1.407 MB / 0.5171 GB, free: 4.656 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.943e-05/0.4465, allocations: 19.91 kB / 0.5171 GB, free: 4.637 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.258e-05/0.4465, allocations: 27.81 kB / 0.5171 GB, free: 4.609 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001252/0.4478, allocations: 0.8494 MB / 0.518 GB, free: 3.758 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4478, allocations: 0 / 0.518 GB, free: 3.758 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4478, allocations: 0 / 0.518 GB, free: 3.758 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.81e-06/0.4478, allocations: 4 kB / 0.518 GB, free: 3.754 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007205/0.4486, allocations: 494 kB / 0.5184 GB, free: 3.223 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.4486, allocations: 8.031 kB / 0.5184 GB, free: 3.215 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.613e-05/0.4487, allocations: 38.75 kB / 0.5185 GB, free: 3.168 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003129/0.449, allocations: 32.89 kB / 0.5185 GB, free: 3.137 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.4492, allocations: 196.2 kB / 0.5187 GB, free: 2.906 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.4492, allocations: 4.375 kB / 0.5187 GB, free: 2.902 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.4493, allocations: 7.938 kB / 0.5187 GB, free: 2.895 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.4494, allocations: 79.31 kB / 0.5188 GB, free: 2.805 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.4494, allocations: 0 / 0.5188 GB, free: 2.805 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.4495, allocations: 4 kB / 0.5188 GB, free: 2.801 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.4495, allocations: 0 / 0.5188 GB, free: 2.801 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.4496, allocations: 43.91 kB / 0.5188 GB, free: 2.758 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002391/0.4498, allocations: 190.6 kB / 0.519 GB, free: 2.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003247/0.4502, allocations: 121.1 kB / 0.5191 GB, free: 2.383 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.929e-05/0.4503, allocations: 41.7 kB / 0.5192 GB, free: 2.336 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005211/0.4508, allocations: 141 kB / 0.5193 GB, free: 2.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.4508, allocations: 38.5 kB / 0.5193 GB, free: 2.133 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.4508, allocations: 0 / 0.5193 GB, free: 2.133 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003771/0.4512, allocations: 117.6 kB / 0.5194 GB, free: 2.012 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.4513, allocations: 81.11 kB / 0.5195 GB, free: 1.914 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.4514, allocations: 141.8 kB / 0.5197 GB, free: 1.766 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.4514, allocations: 25.7 kB / 0.5197 GB, free: 1.734 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.109e-05/0.4515, allocations: 88.14 kB / 0.5198 GB, free: 1.645 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.4515, allocations: 27.73 kB / 0.5198 GB, free: 1.617 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.4516, allocations: 21.72 kB / 0.5198 GB, free: 1.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.4517, allocations: 318.8 kB / 0.5201 GB, free: 1.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.949e-05/0.4518, allocations: 27.98 kB / 0.5201 GB, free: 1.242 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.608e-05/0.4518, allocations: 47.42 kB / 0.5202 GB, free: 1.184 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.452, allocations: 83.34 kB / 0.5203 GB, free: 1.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.452, allocations: 0 / 0.5203 GB, free: 1.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002425/0.4523, allocations: 125.4 kB / 0.5204 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.4523, allocations: 4 kB / 0.5204 GB, free: 0.957 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.4523, allocations: 0 / 0.5204 GB, free: 0.957 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.4523, allocations: 4 kB / 0.5204 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.779e-05/0.4524, allocations: 12 kB / 0.5204 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.4524, allocations: 0 / 0.5204 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.786e-05/0.4524, allocations: 7.984 kB / 0.5204 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.4525, allocations: 4 kB / 0.5204 GB, free: 0.9297 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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.445e-05/0.4526, allocations: 121.8 kB / 0.5205 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.33e-05/0.4526, allocations: 7.953 kB / 0.5205 GB, free: 0.793 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.4529, allocations: 112.9 kB / 0.5207 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.4529, allocations: 0 / 0.5207 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4529, allocations: 7.938 kB / 0.5207 GB, free: 0.668 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4529, allocations: 3.984 kB / 0.5207 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.4531, allocations: 186.4 kB / 0.5208 GB, free: 444 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.4531, allocations: 0 / 0.5208 GB, free: 444 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.76e-05/0.4532, allocations: 15.98 kB / 0.5209 GB, free: 428 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4532, allocations: 7.938 kB / 0.5209 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.4532, allocations: 0 / 0.5209 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.4532, allocations: 10.69 kB / 0.5209 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4532, allocations: 0 / 0.5209 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.4535, allocations: 157.8 kB / 0.521 GB, free: 232 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.151e-05/0.4536, allocations: 97.02 kB / 0.5211 GB, free: 116 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.4536, allocations: 4.062 kB / 0.5211 GB, free: 112 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.236e-05/0.4537, allocations: 4 kB / 0.5211 GB, free: 108 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.4537, allocations: 7.984 kB / 0.5211 GB, free: 100 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.4538, allocations: 0 / 0.5211 GB, free: 100 kB / 446.1 MB Notification: Performance of sorting global known variables: time 9.516e-05/0.4539, allocations: 115.2 kB / 0.5212 GB, free: 15.98 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4539, allocations: 0 / 0.5212 GB, free: 15.98 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005913/0.4545, allocations: 203.3 kB / 0.5214 GB, free: 15.79 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * 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 (6): * Single equations (assignments): 6 * 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.001688/0.4561, allocations: 1.115 MB / 0.5225 GB, free: 14.64 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002095/0.4564, allocations: 67.83 kB / 0.5226 GB, free: 14.58 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4564, allocations: 0 / 0.5226 GB, free: 14.58 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 8.842e-05/0.4565, allocations: 36.11 kB / 0.5226 GB, free: 14.54 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.4568, allocations: 29.62 kB / 0.5227 GB, free: 14.52 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.4588, allocations: 1.751 MB / 0.5244 GB, free: 12.66 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/0.4592, allocations: 0.6885 MB / 0.525 GB, free: 11.95 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.849e-05/0.4592, allocations: 23.94 kB / 0.5251 GB, free: 11.92 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.209e-05/0.4593, allocations: 27.42 kB / 0.5251 GB, free: 11.89 MB / 462.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4593, allocations: 0 / 0.5251 GB, free: 11.89 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02881/0.4881, allocations: 7.758 MB / 0.5327 GB, free: 4.086 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.653/8.141, allocations: 7.984 kB / 0.5327 GB, free: 4.078 MB / 462.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches