Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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.001515/0.001515, allocations: 115.5 kB / 18.45 MB, free: 4.625 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.001644/0.001644, allocations: 211.3 kB / 21.41 MB, free: 1.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 207.6 MB / 231.8 MB, free: 4.199 MB / 174.1 MB " [Timeout remaining time 179] 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.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(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 48.36 kB / 342.3 MB, free: 10.03 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08773/0.08942, allocations: 49.13 MB / 391.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002515/0.09193, allocations: 1.362 MB / 392.8 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3551/0.447, allocations: 150.8 MB / 0.5308 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.106e-05/0.447, allocations: 0 / 0.5308 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.151e-05/0.4471, allocations: 7.984 kB / 0.5308 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008756/0.4479, allocations: 239.6 kB / 0.5311 GB, free: 9.957 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.4494, allocations: 0.6298 MB / 0.5317 GB, free: 9.543 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.674e-05/0.4495, allocations: 53.14 kB / 0.5317 GB, free: 9.516 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.471e-05/0.4495, allocations: 10.3 kB / 0.5317 GB, free: 9.508 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.143e-05/0.4496, allocations: 24.7 kB / 0.5318 GB, free: 9.488 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.4497, allocations: 37.58 kB / 0.5318 GB, free: 9.453 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.4497, allocations: 0 / 0.5318 GB, free: 9.453 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/0.4512, allocations: 0.9045 MB / 0.5327 GB, free: 8.547 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.862e-05/0.4512, allocations: 11.92 kB / 0.5327 GB, free: 8.535 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.709e-05/0.4512, allocations: 23.94 kB / 0.5327 GB, free: 8.512 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008981/0.4521, allocations: 0.5961 MB / 0.5333 GB, free: 7.914 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.4521, allocations: 0 / 0.5333 GB, free: 7.914 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4521, allocations: 4 kB / 0.5333 GB, free: 7.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.4521, allocations: 0 / 0.5333 GB, free: 7.91 MB / 414.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.0006314/0.4528, allocations: 462.8 kB / 0.5337 GB, free: 7.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.4528, allocations: 12.02 kB / 0.5338 GB, free: 7.398 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.9e-05/0.4528, allocations: 34.75 kB / 0.5338 GB, free: 7.355 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.4539, allocations: 92.8 kB / 0.5339 GB, free: 7.266 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003045/0.4542, allocations: 224.2 kB / 0.5341 GB, free: 7.008 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.4542, allocations: 3.938 kB / 0.5341 GB, free: 7.004 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.4543, allocations: 4 kB / 0.5341 GB, free: 7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.4545, allocations: 95.27 kB / 0.5342 GB, free: 6.895 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.4545, allocations: 0 / 0.5342 GB, free: 6.895 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.4545, allocations: 5.391 kB / 0.5342 GB, free: 6.891 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.4545, allocations: 0 / 0.5342 GB, free: 6.891 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.4547, allocations: 51.95 kB / 0.5342 GB, free: 6.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002737/0.455, allocations: 202.9 kB / 0.5344 GB, free: 6.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005117/0.4555, allocations: 125.1 kB / 0.5346 GB, free: 6.449 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.4556, allocations: 37.7 kB / 0.5346 GB, free: 6.406 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008004/0.4564, allocations: 0.9862 MB / 0.5356 GB, free: 5.199 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.4564, allocations: 34.55 kB / 0.5356 GB, free: 5.156 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.4564, allocations: 0 / 0.5356 GB, free: 5.156 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005417/0.457, allocations: 129.5 kB / 0.5357 GB, free: 5.023 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/0.457, allocations: 85.09 kB / 0.5358 GB, free: 4.922 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.4573, allocations: 153.8 kB / 0.5359 GB, free: 4.762 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.4573, allocations: 25.7 kB / 0.536 GB, free: 4.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.794e-05/0.4574, allocations: 88.08 kB / 0.5361 GB, free: 4.641 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.903e-05/0.4574, allocations: 23.78 kB / 0.5361 GB, free: 4.617 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.59e-05/0.4575, allocations: 35.75 kB / 0.5361 GB, free: 4.578 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.4576, allocations: 314.8 kB / 0.5364 GB, free: 4.262 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.4578, allocations: 28.84 kB / 0.5364 GB, free: 4.234 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.4579, allocations: 59.39 kB / 0.5365 GB, free: 4.164 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/0.4582, allocations: 83.28 kB / 0.5366 GB, free: 4.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.4582, allocations: 0 / 0.5366 GB, free: 4.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003731/0.4585, allocations: 125.5 kB / 0.5367 GB, free: 3.941 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.4586, allocations: 8 kB / 0.5367 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.4586, allocations: 480 / 0.5367 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.4586, allocations: 0 / 0.5367 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.4587, allocations: 30.47 kB / 0.5367 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.4587, allocations: 11.88 kB / 0.5367 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.4589, allocations: 4 kB / 0.5367 GB, free: 3.891 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.4589, allocations: 7.984 kB / 0.5368 GB, free: 3.883 MB / 414.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.781e-05/0.459, allocations: 117.8 kB / 0.5369 GB, free: 3.758 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.622e-05/0.4591, allocations: 7.953 kB / 0.5369 GB, free: 3.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006597/0.4598, allocations: 243.3 kB / 0.5371 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.4598, allocations: 4 kB / 0.5371 GB, free: 3.508 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.4598, allocations: 4 kB / 0.5371 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4598, allocations: 0 / 0.5371 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/0.46, allocations: 218.9 kB / 0.5373 GB, free: 3.238 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.46, allocations: 0 / 0.5373 GB, free: 3.238 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.4602, allocations: 27.84 kB / 0.5373 GB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.145e-06/0.4602, allocations: 0 / 0.5373 GB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.4602, allocations: 4 kB / 0.5373 GB, free: 3.207 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.4602, allocations: 0 / 0.5373 GB, free: 3.207 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.4602, allocations: 2.578 kB / 0.5374 GB, free: 3.207 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004682/0.4607, allocations: 193.3 kB / 0.5375 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.638e-05/0.4608, allocations: 85.09 kB / 0.5376 GB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.4608, allocations: 7.984 kB / 0.5376 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.461, allocations: 4 kB / 0.5376 GB, free: 2.887 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.461, allocations: 7.984 kB / 0.5376 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.4611, allocations: 8.062 kB / 0.5376 GB, free: 2.871 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000178/0.4612, allocations: 131.2 kB / 0.5378 GB, free: 2.742 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4612, allocations: 0 / 0.5378 GB, free: 2.742 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005706/0.4618, allocations: 171.5 kB / 0.5379 GB, free: 2.574 MB / 414.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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001549/0.4633, allocations: 0.9969 MB / 0.5389 GB, free: 1.547 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003035/0.4637, allocations: 76 kB / 0.539 GB, free: 1.473 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4637, allocations: 4 kB / 0.539 GB, free: 1.469 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.4638, allocations: 35.92 kB / 0.539 GB, free: 1.434 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.464, allocations: 15.92 kB / 0.539 GB, free: 1.418 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/0.4669, allocations: 1.817 MB / 0.5408 GB, free: 15.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.4672, allocations: 0.6896 MB / 0.5415 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000575/0.4678, allocations: 431 kB / 0.5419 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.4679, allocations: 51.39 kB / 0.5419 GB, free: 14.31 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4679, allocations: 0 / 0.5419 GB, free: 14.31 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03287/0.5008, allocations: 7.639 MB / 0.5494 GB, free: 6.617 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.14/8.641, allocations: 7.953 kB / 0.5494 GB, free: 6.609 MB / 430.1 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_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_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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: 11.06352480800706]