Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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.001774/0.001774, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002384/0.002384, allocations: 204.8 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 257.5 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_TX,fileNamePrefix="Modelica_4_1_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_1_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.001519/0.001519, allocations: 47.92 kB / 377.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2552, allocations: 53.36 MB / 431.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002479/0.2577, allocations: 1.37 MB / 432.4 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3785/0.6362, allocations: 130.9 MB / 0.5501 GB, free: 15.96 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.144e-05/0.6362, allocations: 0 / 0.5501 GB, free: 15.96 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.322e-05/0.6363, allocations: 7.312 kB / 0.5501 GB, free: 15.96 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001087/0.6374, allocations: 384.8 kB / 0.5505 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.6384, allocations: 0.5154 MB / 0.551 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.6385, allocations: 78.69 kB / 0.5511 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.14e-05/0.6385, allocations: 2.562 kB / 0.5511 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.073e-05/0.6386, allocations: 33.53 kB / 0.5511 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.337e-05/0.6387, allocations: 32.33 kB / 0.5512 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.6387, allocations: 2.234 kB / 0.5512 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001477/0.6402, allocations: 0.9613 MB / 0.5521 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.199e-05/0.6402, allocations: 19.38 kB / 0.5521 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.6403, allocations: 23.56 kB / 0.5521 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008831/0.6411, allocations: 0.6671 MB / 0.5528 GB, free: 15.89 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.6411, allocations: 1.375 kB / 0.5528 GB, free: 15.89 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6411, allocations: 0 / 0.5528 GB, free: 15.89 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.6411, allocations: 0 / 0.5528 GB, free: 15.89 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.0005963/0.6417, allocations: 387.3 kB / 0.5532 GB, free: 15.56 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.6418, allocations: 9.625 kB / 0.5532 GB, free: 15.56 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.571e-05/0.6418, allocations: 38.66 kB / 0.5532 GB, free: 15.52 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004432/0.6423, allocations: 71.78 kB / 0.5533 GB, free: 15.51 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.6424, allocations: 143.3 kB / 0.5534 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.6425, allocations: 5.375 kB / 0.5534 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.6425, allocations: 2.281 kB / 0.5534 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.6426, allocations: 74.84 kB / 0.5535 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.6427, allocations: 3.547 kB / 0.5535 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.6427, allocations: 2.656 kB / 0.5535 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.6427, allocations: 3.938 kB / 0.5535 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.906e-05/0.6428, allocations: 43.41 kB / 0.5535 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002084/0.643, allocations: 168.1 kB / 0.5537 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/0.6433, allocations: 113.9 kB / 0.5538 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.103e-05/0.6433, allocations: 35.91 kB / 0.5538 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004441/0.6438, allocations: 63.64 kB / 0.5539 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.6438, allocations: 32.91 kB / 0.5539 GB, free: 15.05 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.6438, allocations: 0 / 0.5539 GB, free: 15.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003391/0.6441, allocations: 117 kB / 0.5541 GB, free: 15.01 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.6442, allocations: 84.19 kB / 0.5541 GB, free: 14.92 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.6443, allocations: 144 kB / 0.5543 GB, free: 14.82 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.6443, allocations: 25.7 kB / 0.5543 GB, free: 14.79 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.146e-05/0.6444, allocations: 93.86 kB / 0.5544 GB, free: 14.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.6444, allocations: 21.52 kB / 0.5544 GB, free: 14.69 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.6445, allocations: 25.05 kB / 0.5544 GB, free: 14.67 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.6446, allocations: 317.6 kB / 0.5547 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.247e-05/0.6447, allocations: 26.39 kB / 0.5548 GB, free: 14.36 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.481e-05/0.6448, allocations: 49.14 kB / 0.5548 GB, free: 14.32 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.6449, allocations: 89.09 kB / 0.5549 GB, free: 14.29 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6449, allocations: 0 / 0.5549 GB, free: 14.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002352/0.6451, allocations: 114.2 kB / 0.555 GB, free: 14.24 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.6452, allocations: 4.875 kB / 0.555 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.6452, allocations: 3.844 kB / 0.555 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.6452, allocations: 0 / 0.555 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.5e-05/0.6452, allocations: 17.88 kB / 0.555 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.6452, allocations: 1.062 kB / 0.555 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.859e-05/0.6453, allocations: 10.67 kB / 0.555 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.6453, allocations: 3.859 kB / 0.555 GB, free: 14.24 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 9.186e-05/0.6454, allocations: 123.5 kB / 0.5552 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.161e-05/0.6454, allocations: 9.969 kB / 0.5552 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002314/0.6457, allocations: 110.9 kB / 0.5553 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.6457, allocations: 3.469 kB / 0.5553 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.6457, allocations: 0 / 0.5553 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.6457, allocations: 0.8125 kB / 0.5553 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.6458, allocations: 156.4 kB / 0.5554 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.6458, allocations: 0 / 0.5554 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.173e-05/0.6459, allocations: 17.34 kB / 0.5554 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.6459, allocations: 0 / 0.5554 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.6459, allocations: 8.594 kB / 0.5554 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.6459, allocations: 6.094 kB / 0.5555 GB, free: 13.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.6459, allocations: 2.953 kB / 0.5555 GB, free: 13.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.6462, allocations: 161.6 kB / 0.5556 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.109e-05/0.6463, allocations: 15.91 kB / 0.5556 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.6463, allocations: 0 / 0.5556 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.153e-05/0.6463, allocations: 2.344 kB / 0.5556 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.6464, allocations: 5.672 kB / 0.5556 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.6464, allocations: 6 kB / 0.5556 GB, free: 13.82 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.832e-05/0.6465, allocations: 112.2 kB / 0.5557 GB, free: 13.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6465, allocations: 2.156 kB / 0.5557 GB, free: 13.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004819/0.6469, allocations: 173 kB / 0.5559 GB, free: 13.71 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.001289/0.6482, allocations: 1.013 MB / 0.5569 GB, free: 13.04 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001776/0.6484, allocations: 55.62 kB / 0.557 GB, free: 13.04 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.6484, allocations: 0 / 0.557 GB, free: 13.04 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.516e-05/0.6485, allocations: 34.69 kB / 0.557 GB, free: 13.04 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.6487, allocations: 25 kB / 0.557 GB, free: 13.04 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002004/0.6507, allocations: 1.743 MB / 0.5587 GB, free: 11.75 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.444e-05/0.6508, allocations: 77.64 kB / 0.5588 GB, free: 11.67 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.491e-05/0.6509, allocations: 20.31 kB / 0.5588 GB, free: 11.66 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.054e-05/0.6509, allocations: 22.66 kB / 0.5588 GB, free: 11.66 MB / 462.1 MB Notification: Performance of SimCode: time 3.21e-07/0.6509, allocations: 0 / 0.5588 GB, free: 11.66 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03424/0.6851, allocations: 6.952 MB / 0.5656 GB, free: 10.34 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.82, allocations: 11 kB / 0.5656 GB, free: 10.33 MB / 462.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX.fmu > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.484824859013315]