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.001341/0.001341, allocations: 114.5 kB / 17.73 MB, free: 5.312 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.001198/0.001198, allocations: 187 kB / 18.66 MB, free: 4.387 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.38/1.38, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001805/0.001806, allocations: 59.92 kB / 328 MB, free: 3.801 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0888/0.09061, allocations: 46.62 MB / 374.6 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002739/0.09339, allocations: 1.369 MB / 376 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3502/0.4437, allocations: 150.8 MB / 0.5144 GB, free: 7.348 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.322e-05/0.4438, allocations: 0 / 0.5144 GB, free: 7.348 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.743e-05/0.4438, allocations: 7.938 kB / 0.5144 GB, free: 7.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00109/0.4449, allocations: 342.5 kB / 0.5148 GB, free: 7.004 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.4469, allocations: 0.8086 MB / 0.5156 GB, free: 6.199 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.447, allocations: 75.64 kB / 0.5156 GB, free: 6.125 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.4471, allocations: 0 / 0.5156 GB, free: 6.125 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.179e-05/0.4471, allocations: 35.91 kB / 0.5157 GB, free: 6.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.929e-05/0.4472, allocations: 47.77 kB / 0.5157 GB, free: 6.043 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.4473, allocations: 4 kB / 0.5157 GB, free: 6.039 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002499/0.4498, allocations: 1.399 MB / 0.5171 GB, free: 4.637 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.477e-05/0.4498, allocations: 11.98 kB / 0.5171 GB, free: 4.625 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.654e-05/0.4499, allocations: 31.84 kB / 0.5171 GB, free: 4.594 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001354/0.4512, allocations: 0.8532 MB / 0.518 GB, free: 3.738 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.4513, allocations: 0 / 0.518 GB, free: 3.738 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4513, allocations: 0 / 0.518 GB, free: 3.738 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.4513, allocations: 4 kB / 0.518 GB, free: 3.734 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.0006912/0.452, allocations: 486.1 kB / 0.5184 GB, free: 3.211 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.452, allocations: 8.031 kB / 0.5184 GB, free: 3.203 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.675e-05/0.4521, allocations: 38.73 kB / 0.5185 GB, free: 3.156 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002833/0.4523, allocations: 32.89 kB / 0.5185 GB, free: 3.125 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.4526, allocations: 208.2 kB / 0.5187 GB, free: 2.883 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.4526, allocations: 8.312 kB / 0.5187 GB, free: 2.875 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.4526, allocations: 3.938 kB / 0.5187 GB, free: 2.871 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.4528, allocations: 75.33 kB / 0.5188 GB, free: 2.785 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.4528, allocations: 4 kB / 0.5188 GB, free: 2.781 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.4528, allocations: 4 kB / 0.5188 GB, free: 2.777 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.4528, allocations: 0 / 0.5188 GB, free: 2.777 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.4529, allocations: 35.97 kB / 0.5188 GB, free: 2.742 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002254/0.4532, allocations: 198.5 kB / 0.519 GB, free: 2.496 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003176/0.4535, allocations: 117 kB / 0.5191 GB, free: 2.363 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.297e-05/0.4536, allocations: 41.75 kB / 0.5192 GB, free: 2.316 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005287/0.4541, allocations: 137 kB / 0.5193 GB, free: 2.164 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.4542, allocations: 34.5 kB / 0.5193 GB, free: 2.121 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.4542, allocations: 0 / 0.5193 GB, free: 2.121 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003564/0.4545, allocations: 113.6 kB / 0.5194 GB, free: 2.004 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.4546, allocations: 85.05 kB / 0.5195 GB, free: 1.902 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.4547, allocations: 147.2 kB / 0.5197 GB, free: 1.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.4548, allocations: 25.7 kB / 0.5197 GB, free: 1.719 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.405e-05/0.4548, allocations: 84.14 kB / 0.5198 GB, free: 1.633 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.4549, allocations: 27.75 kB / 0.5198 GB, free: 1.605 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/0.4549, allocations: 21.7 kB / 0.5198 GB, free: 1.578 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.4551, allocations: 318.8 kB / 0.5201 GB, free: 1.258 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.621e-05/0.4552, allocations: 27.97 kB / 0.5201 GB, free: 1.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.658e-05/0.4553, allocations: 51.42 kB / 0.5202 GB, free: 1.168 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.4554, allocations: 83.72 kB / 0.5203 GB, free: 1.074 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4555, allocations: 0 / 0.5203 GB, free: 1.074 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002631/0.4557, allocations: 117.5 kB / 0.5204 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4558, allocations: 8 kB / 0.5204 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.4558, allocations: 0 / 0.5204 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.4558, allocations: 0 / 0.5204 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.182e-05/0.4559, allocations: 19.92 kB / 0.5204 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.4559, allocations: 4 kB / 0.5204 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.883e-05/0.4559, allocations: 0 / 0.5204 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.4559, allocations: 8.812 kB / 0.5204 GB, free: 0.9141 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 9.466e-05/0.456, allocations: 125.8 kB / 0.5205 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.309e-05/0.4561, allocations: 7.953 kB / 0.5205 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002752/0.4564, allocations: 111.5 kB / 0.5206 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.4564, allocations: 0 / 0.5206 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4564, allocations: 0 / 0.5206 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.4564, allocations: 4 kB / 0.5207 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.4566, allocations: 193.5 kB / 0.5208 GB, free: 424 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.4566, allocations: 3.938 kB / 0.5208 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.864e-05/0.4567, allocations: 10.75 kB / 0.5209 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.4567, allocations: 8 kB / 0.5209 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.4567, allocations: 3.984 kB / 0.5209 GB, free: 400 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4567, allocations: 3.938 kB / 0.5209 GB, free: 396 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4567, allocations: 0 / 0.5209 GB, free: 396 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003548/0.4571, allocations: 161.8 kB / 0.521 GB, free: 212 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.493e-05/0.4572, allocations: 93.08 kB / 0.5211 GB, free: 100 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.4572, allocations: 4.062 kB / 0.5211 GB, free: 96 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.942e-05/0.4573, allocations: 0 / 0.5211 GB, free: 96 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.4573, allocations: 7.984 kB / 0.5211 GB, free: 88 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.4573, allocations: 4 kB / 0.5211 GB, free: 84 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001184/0.4575, allocations: 115.6 kB / 0.5212 GB, free: 15.97 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4575, allocations: 0 / 0.5212 GB, free: 15.97 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006893/0.4582, allocations: 203.3 kB / 0.5214 GB, free: 15.77 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.001841/0.46, allocations: 1.119 MB / 0.5225 GB, free: 14.62 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002211/0.4602, allocations: 67.97 kB / 0.5226 GB, free: 14.56 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4602, allocations: 0 / 0.5226 GB, free: 14.56 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 8.493e-05/0.4603, allocations: 40.05 kB / 0.5226 GB, free: 14.52 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.4606, allocations: 18.16 kB / 0.5226 GB, free: 14.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.4627, allocations: 1.755 MB / 0.5244 GB, free: 12.64 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.4631, allocations: 0.6885 MB / 0.525 GB, free: 11.93 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.072e-05/0.4632, allocations: 28.2 kB / 0.5251 GB, free: 11.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.165e-05/0.4632, allocations: 23.42 kB / 0.5251 GB, free: 11.88 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4632, allocations: 4 kB / 0.5251 GB, free: 11.87 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03273/0.4959, allocations: 7.745 MB / 0.5326 GB, free: 4.078 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.116/8.612, allocations: 12.05 kB / 0.5327 GB, free: 4.066 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