Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001797/0.001797, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002498/0.002498, allocations: 206.1 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 230.5 MB / 257.4 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 71.89 kB / 377.7 MB, free: 2.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2337, allocations: 53.41 MB / 431.1 MB, free: 6.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002896/0.2366, allocations: 1.343 MB / 432.5 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3975/0.6341, allocations: 130.9 MB / 0.5502 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.748e-05/0.6342, allocations: 0 / 0.5502 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.12e-05/0.6342, allocations: 4.547 kB / 0.5502 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00105/0.6353, allocations: 389 kB / 0.5506 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.6363, allocations: 0.5199 MB / 0.5511 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.124e-05/0.6364, allocations: 72.47 kB / 0.5511 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.468e-05/0.6364, allocations: 7.953 kB / 0.5512 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.733e-05/0.6365, allocations: 37.11 kB / 0.5512 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.878e-05/0.6366, allocations: 30.36 kB / 0.5512 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.6366, allocations: 2.719 kB / 0.5512 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001437/0.638, allocations: 0.9386 MB / 0.5521 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.795e-05/0.638, allocations: 19.33 kB / 0.5522 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.349e-05/0.6381, allocations: 26.67 kB / 0.5522 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008452/0.6389, allocations: 0.6627 MB / 0.5528 GB, free: 15.86 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.6389, allocations: 2.547 kB / 0.5528 GB, free: 15.86 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.6389, allocations: 4 kB / 0.5528 GB, free: 15.86 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.6389, allocations: 0 / 0.5528 GB, free: 15.86 MB / 462.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.0005827/0.6395, allocations: 389 kB / 0.5532 GB, free: 15.53 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.6395, allocations: 11.92 kB / 0.5532 GB, free: 15.53 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.795e-05/0.6396, allocations: 33.28 kB / 0.5532 GB, free: 15.49 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004198/0.64, allocations: 72.41 kB / 0.5533 GB, free: 15.48 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.6402, allocations: 139.8 kB / 0.5535 GB, free: 15.35 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.6402, allocations: 10 kB / 0.5535 GB, free: 15.35 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.6402, allocations: 6.375 kB / 0.5535 GB, free: 15.35 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.6403, allocations: 66.94 kB / 0.5535 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.6403, allocations: 4 kB / 0.5535 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.6404, allocations: 8.406 kB / 0.5535 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.6404, allocations: 0 / 0.5535 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.043e-05/0.6405, allocations: 38.75 kB / 0.5536 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001993/0.6407, allocations: 167.7 kB / 0.5537 GB, free: 15.13 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.6409, allocations: 107.7 kB / 0.5538 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.503e-05/0.641, allocations: 45.86 kB / 0.5539 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004599/0.6415, allocations: 56.44 kB / 0.5539 GB, free: 15.06 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.6415, allocations: 39.09 kB / 0.554 GB, free: 15.02 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.6415, allocations: 0 / 0.554 GB, free: 15.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003248/0.6418, allocations: 115.6 kB / 0.5541 GB, free: 14.99 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.6419, allocations: 83.55 kB / 0.5542 GB, free: 14.89 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.642, allocations: 143.4 kB / 0.5543 GB, free: 14.79 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.642, allocations: 31.42 kB / 0.5543 GB, free: 14.76 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/0.6421, allocations: 89.84 kB / 0.5544 GB, free: 14.68 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.6421, allocations: 24.52 kB / 0.5544 GB, free: 14.66 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.6422, allocations: 21.59 kB / 0.5545 GB, free: 14.64 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.6423, allocations: 319.7 kB / 0.5548 GB, free: 14.33 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.143e-05/0.6424, allocations: 19 kB / 0.5548 GB, free: 14.33 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.293e-05/0.6425, allocations: 50.98 kB / 0.5548 GB, free: 14.3 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.6426, allocations: 93.25 kB / 0.5549 GB, free: 14.26 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6426, allocations: 0 / 0.5549 GB, free: 14.26 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002256/0.6428, allocations: 107.8 kB / 0.555 GB, free: 14.22 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.6429, allocations: 6.938 kB / 0.555 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.6429, allocations: 0 / 0.555 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.6429, allocations: 3.859 kB / 0.555 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.338e-05/0.6429, allocations: 17.52 kB / 0.5551 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.6429, allocations: 2.281 kB / 0.5551 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.932e-05/0.643, allocations: 10.92 kB / 0.5551 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.643, allocations: 2 kB / 0.5551 GB, free: 14.21 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 0.0001014/0.6431, allocations: 122.5 kB / 0.5552 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.933e-05/0.6432, allocations: 9.719 kB / 0.5552 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002306/0.6434, allocations: 118.6 kB / 0.5553 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.6434, allocations: 0 / 0.5553 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.6434, allocations: 3.625 kB / 0.5553 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.6434, allocations: 0 / 0.5553 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.6435, allocations: 161.1 kB / 0.5555 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.6435, allocations: 7 kB / 0.5555 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.192e-05/0.6436, allocations: 11.66 kB / 0.5555 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.6436, allocations: 0 / 0.5555 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.6436, allocations: 4.812 kB / 0.5555 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.6436, allocations: 0 / 0.5555 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.6436, allocations: 0 / 0.5555 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.644, allocations: 167.7 kB / 0.5556 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.093e-05/0.644, allocations: 6.391 kB / 0.5557 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.644, allocations: 3.469 kB / 0.5557 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.625e-05/0.644, allocations: 8.328 kB / 0.5557 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-05/0.6441, allocations: 5.219 kB / 0.5557 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.6441, allocations: 2.969 kB / 0.5557 GB, free: 13.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.486e-05/0.6442, allocations: 117.1 kB / 0.5558 GB, free: 13.72 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6442, allocations: 0 / 0.5558 GB, free: 13.72 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005247/0.6447, allocations: 165 kB / 0.5559 GB, free: 13.69 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.001325/0.646, allocations: 1.01 MB / 0.5569 GB, free: 13.02 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001762/0.6462, allocations: 64.02 kB / 0.557 GB, free: 13.02 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.6462, allocations: 5.219 kB / 0.557 GB, free: 13.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.426e-05/0.6462, allocations: 27.88 kB / 0.557 GB, free: 13.02 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.6465, allocations: 30.09 kB / 0.557 GB, free: 13.02 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.6484, allocations: 1.74 MB / 0.5587 GB, free: 11.72 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.639e-05/0.6485, allocations: 75.58 kB / 0.5588 GB, free: 11.65 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.354e-05/0.6486, allocations: 27.19 kB / 0.5588 GB, free: 11.64 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.04e-05/0.6486, allocations: 23.86 kB / 0.5589 GB, free: 11.62 MB / 462.1 MB Notification: Performance of SimCode: time 3.01e-07/0.6486, allocations: 0 / 0.5589 GB, free: 11.62 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03415/0.6828, allocations: 6.913 MB / 0.5656 GB, free: 10.29 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/12.06, allocations: 7.188 kB / 0.5656 GB, free: 10.28 MB / 462.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.673570835031569]