Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 192.1 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.7 MB / 252.5 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 55.92 kB / 370.4 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2422, allocations: 52.18 MB / 422.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002451/0.2446, allocations: 1.335 MB / 423.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3942/0.6389, allocations: 128.1 MB / 0.539 GB, free: 1.422 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.844e-05/0.6389, allocations: 1.812 kB / 0.539 GB, free: 1.422 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.521e-05/0.6389, allocations: 6.438 kB / 0.539 GB, free: 1.422 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001281/0.6402, allocations: 380.3 kB / 0.5394 GB, free: 1.414 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.6415, allocations: 0.5163 MB / 0.5399 GB, free: 1.398 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.6416, allocations: 76.55 kB / 0.54 GB, free: 1.398 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.801e-05/0.6416, allocations: 6.188 kB / 0.54 GB, free: 1.398 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.503e-05/0.6417, allocations: 34.36 kB / 0.54 GB, free: 1.398 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.848e-05/0.6418, allocations: 33.77 kB / 0.54 GB, free: 1.398 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.6418, allocations: 2.75 kB / 0.54 GB, free: 1.398 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001466/0.6432, allocations: 0.9248 MB / 0.5409 GB, free: 1.387 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.945e-05/0.6433, allocations: 18.12 kB / 0.541 GB, free: 1.387 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.586e-05/0.6433, allocations: 23.3 kB / 0.541 GB, free: 1.387 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009007/0.6442, allocations: 0.6642 MB / 0.5416 GB, free: 1.355 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.6442, allocations: 0.875 kB / 0.5416 GB, free: 1.355 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.6442, allocations: 1.688 kB / 0.5416 GB, free: 1.355 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.6442, allocations: 1.375 kB / 0.5416 GB, free: 1.355 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.0006644/0.6449, allocations: 391.6 kB / 0.542 GB, free: 17.02 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.6449, allocations: 9.281 kB / 0.542 GB, free: 17.02 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.977e-05/0.645, allocations: 32.03 kB / 0.542 GB, free: 16.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004203/0.6454, allocations: 75.03 kB / 0.5421 GB, free: 16.98 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.6455, allocations: 139.7 kB / 0.5423 GB, free: 16.85 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.6456, allocations: 8 kB / 0.5423 GB, free: 16.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.6456, allocations: 9.062 kB / 0.5423 GB, free: 16.84 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.6457, allocations: 71.95 kB / 0.5423 GB, free: 16.8 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.6457, allocations: 3.984 kB / 0.5423 GB, free: 16.79 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.6457, allocations: 1.188 kB / 0.5423 GB, free: 16.79 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.6458, allocations: 3.531 kB / 0.5423 GB, free: 16.79 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.236e-05/0.6458, allocations: 45.95 kB / 0.5424 GB, free: 16.79 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001726/0.646, allocations: 164.4 kB / 0.5425 GB, free: 16.63 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002634/0.6463, allocations: 116.9 kB / 0.5427 GB, free: 16.58 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.442e-05/0.6463, allocations: 31.91 kB / 0.5427 GB, free: 16.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004818/0.6468, allocations: 61.27 kB / 0.5427 GB, free: 16.57 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.6469, allocations: 31.34 kB / 0.5428 GB, free: 16.53 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.6469, allocations: 0 / 0.5428 GB, free: 16.53 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.00033/0.6472, allocations: 123.8 kB / 0.5429 GB, free: 16.49 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.609e-05/0.6472, allocations: 81.2 kB / 0.543 GB, free: 16.4 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.6474, allocations: 141.7 kB / 0.5431 GB, free: 16.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.6474, allocations: 25.7 kB / 0.5431 GB, free: 16.27 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.872e-05/0.6474, allocations: 89.61 kB / 0.5432 GB, free: 16.19 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/0.6475, allocations: 23.16 kB / 0.5432 GB, free: 16.17 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/0.6475, allocations: 27.41 kB / 0.5433 GB, free: 16.16 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.6477, allocations: 311.5 kB / 0.5436 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.307e-05/0.6477, allocations: 27.81 kB / 0.5436 GB, free: 15.84 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.398e-05/0.6478, allocations: 47.52 kB / 0.5436 GB, free: 15.81 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.6479, allocations: 90.39 kB / 0.5437 GB, free: 15.78 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6479, allocations: 2.188 kB / 0.5437 GB, free: 15.78 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002214/0.6481, allocations: 114.1 kB / 0.5438 GB, free: 15.74 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.6481, allocations: 7.844 kB / 0.5438 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.6482, allocations: 0 / 0.5438 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.6482, allocations: 3.406 kB / 0.5438 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.373e-05/0.6482, allocations: 18.55 kB / 0.5439 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.6482, allocations: 6.984 kB / 0.5439 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.482e-05/0.6483, allocations: 3.594 kB / 0.5439 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.6483, allocations: 9.156 kB / 0.5439 GB, free: 15.73 MB / 462.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.686e-05/0.6484, allocations: 116.2 kB / 0.544 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.945e-05/0.6484, allocations: 13.8 kB / 0.544 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.6487, allocations: 113.1 kB / 0.5441 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.6487, allocations: 0.8438 kB / 0.5441 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.6487, allocations: 5.594 kB / 0.5441 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.6487, allocations: 0 / 0.5441 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.6488, allocations: 150.1 kB / 0.5443 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.6488, allocations: 2.688 kB / 0.5443 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.163e-05/0.6489, allocations: 16.27 kB / 0.5443 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.6489, allocations: 2.781 kB / 0.5443 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.6489, allocations: 3.781 kB / 0.5443 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.6489, allocations: 0.875 kB / 0.5443 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6489, allocations: 2.562 kB / 0.5443 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002839/0.6491, allocations: 163.4 kB / 0.5444 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.345e-05/0.6492, allocations: 17.75 kB / 0.5445 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.6492, allocations: 3.625 kB / 0.5445 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.058e-05/0.6492, allocations: 2.406 kB / 0.5445 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.6493, allocations: 7.234 kB / 0.5445 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.6493, allocations: 2.438 kB / 0.5445 GB, free: 15.32 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.565e-05/0.6494, allocations: 117.4 kB / 0.5446 GB, free: 15.25 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6494, allocations: 0 / 0.5446 GB, free: 15.25 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000462/0.6498, allocations: 162.5 kB / 0.5447 GB, free: 15.22 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.001357/0.6512, allocations: 1.026 MB / 0.5457 GB, free: 14.57 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001796/0.6514, allocations: 63.38 kB / 0.5458 GB, free: 14.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.6514, allocations: 0 / 0.5458 GB, free: 14.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.288e-05/0.6514, allocations: 31.83 kB / 0.5458 GB, free: 14.57 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.6517, allocations: 28.83 kB / 0.5459 GB, free: 14.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.6534, allocations: 1.737 MB / 0.5476 GB, free: 13.34 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.753e-05/0.6535, allocations: 71.98 kB / 0.5476 GB, free: 13.27 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.549e-05/0.6535, allocations: 21.34 kB / 0.5476 GB, free: 13.26 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.447e-05/0.6536, allocations: 22.97 kB / 0.5477 GB, free: 13.25 MB / 462.1 MB Notification: Performance of SimCode: time 3e-07/0.6536, allocations: 0 / 0.5477 GB, free: 13.25 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03336/0.6869, allocations: 6.977 MB / 0.5545 GB, free: 11.93 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/12.21, allocations: 6.094 kB / 0.5545 GB, free: 11.93 MB / 462.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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.00019992 Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX.fmu > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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: 14.771237568929791]