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.001591/0.001591, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001767/0.001767, allocations: 210.4 kB / 23.73 MB, free: 4.387 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.428/1.428, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.00154/0.00154, allocations: 47.92 kB / 377.7 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2858, allocations: 53.36 MB / 431.1 MB, free: 6.602 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002623/0.2885, allocations: 1.362 MB / 432.4 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3905/0.679, allocations: 130.9 MB / 0.5501 GB, free: 15.98 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.85e-05/0.679, allocations: 1.25 kB / 0.5502 GB, free: 15.98 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.74e-05/0.6791, allocations: 5.016 kB / 0.5502 GB, free: 15.98 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00104/0.6801, allocations: 380.8 kB / 0.5505 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009942/0.6811, allocations: 0.5136 MB / 0.551 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.167e-05/0.6812, allocations: 79.23 kB / 0.5511 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.885e-05/0.6812, allocations: 0 / 0.5511 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.888e-05/0.6813, allocations: 38.14 kB / 0.5511 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.31e-05/0.6814, allocations: 30.64 kB / 0.5512 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.6814, allocations: 3.109 kB / 0.5512 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001449/0.6828, allocations: 0.9471 MB / 0.5521 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.677e-05/0.6829, allocations: 17.28 kB / 0.5521 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.6829, allocations: 20.17 kB / 0.5521 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008593/0.6838, allocations: 0.6656 MB / 0.5528 GB, free: 15.9 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.6838, allocations: 0 / 0.5528 GB, free: 15.9 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.6838, allocations: 2.156 kB / 0.5528 GB, free: 15.9 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.6838, allocations: 1.375 kB / 0.5528 GB, free: 15.9 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.0005861/0.6844, allocations: 388.5 kB / 0.5531 GB, free: 15.57 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.6844, allocations: 9.625 kB / 0.5532 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.555e-05/0.6844, allocations: 34.44 kB / 0.5532 GB, free: 15.54 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004167/0.6848, allocations: 75.38 kB / 0.5533 GB, free: 15.53 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.685, allocations: 143.4 kB / 0.5534 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.685, allocations: 5.219 kB / 0.5534 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.685, allocations: 5.156 kB / 0.5534 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.6852, allocations: 73.19 kB / 0.5535 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.6852, allocations: 1.094 kB / 0.5535 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.6852, allocations: 0 / 0.5535 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.6852, allocations: 3.344 kB / 0.5535 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.857e-05/0.6853, allocations: 45.5 kB / 0.5535 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002076/0.6855, allocations: 169.4 kB / 0.5537 GB, free: 15.17 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.6858, allocations: 115.1 kB / 0.5538 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.362e-05/0.6859, allocations: 35.52 kB / 0.5538 GB, free: 15.1 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004798/0.6863, allocations: 62.08 kB / 0.5539 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.6864, allocations: 36.41 kB / 0.5539 GB, free: 15.05 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.6864, allocations: 0 / 0.5539 GB, free: 15.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003375/0.6867, allocations: 120.4 kB / 0.554 GB, free: 15.02 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.6868, allocations: 80.67 kB / 0.5541 GB, free: 14.93 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.6869, allocations: 136.7 kB / 0.5542 GB, free: 14.83 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.6869, allocations: 28.58 kB / 0.5543 GB, free: 14.8 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.699e-05/0.687, allocations: 86.17 kB / 0.5544 GB, free: 14.71 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.24e-05/0.687, allocations: 27.98 kB / 0.5544 GB, free: 14.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.6871, allocations: 25.53 kB / 0.5544 GB, free: 14.68 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.6872, allocations: 321 kB / 0.5547 GB, free: 14.37 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.156e-05/0.6873, allocations: 25.66 kB / 0.5547 GB, free: 14.37 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.779e-05/0.6873, allocations: 48.39 kB / 0.5548 GB, free: 14.33 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.6875, allocations: 87.2 kB / 0.5549 GB, free: 14.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.6875, allocations: 0 / 0.5549 GB, free: 14.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002213/0.6877, allocations: 107.6 kB / 0.555 GB, free: 14.26 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.6877, allocations: 9.594 kB / 0.555 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.6877, allocations: 0 / 0.555 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.6877, allocations: 3.094 kB / 0.555 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.446e-05/0.6878, allocations: 19.81 kB / 0.555 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.6878, allocations: 3.594 kB / 0.555 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.005e-05/0.6879, allocations: 6.578 kB / 0.555 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-06/0.6879, allocations: 3.75 kB / 0.555 GB, free: 14.25 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.0001008/0.688, allocations: 121.8 kB / 0.5551 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.117e-05/0.688, allocations: 2.906 kB / 0.5551 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000237/0.6883, allocations: 117.5 kB / 0.5552 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.6883, allocations: 0 / 0.5552 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.6883, allocations: 480 / 0.5552 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.6883, allocations: 3.984 kB / 0.5552 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.6884, allocations: 158 kB / 0.5554 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.6884, allocations: 4 kB / 0.5554 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.358e-05/0.6885, allocations: 17.22 kB / 0.5554 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.6885, allocations: 1.203 kB / 0.5554 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.6885, allocations: 5.656 kB / 0.5554 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.6885, allocations: 0 / 0.5554 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6885, allocations: 4 kB / 0.5554 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/0.6889, allocations: 167.7 kB / 0.5556 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.507e-05/0.6889, allocations: 10.03 kB / 0.5556 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.6889, allocations: 0 / 0.5556 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.145e-05/0.6889, allocations: 2.188 kB / 0.5556 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.689, allocations: 9.156 kB / 0.5556 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.689, allocations: 4.5 kB / 0.5556 GB, free: 13.84 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001436/0.6891, allocations: 117.2 kB / 0.5557 GB, free: 13.76 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6891, allocations: 0 / 0.5557 GB, free: 13.76 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005937/0.6897, allocations: 168.5 kB / 0.5559 GB, free: 13.72 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.001407/0.6911, allocations: 1.009 MB / 0.5569 GB, free: 13.06 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001812/0.6913, allocations: 58.78 kB / 0.5569 GB, free: 13.06 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.6913, allocations: 0 / 0.5569 GB, free: 13.06 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.355e-05/0.6914, allocations: 34.52 kB / 0.557 GB, free: 13.06 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.6916, allocations: 21.47 kB / 0.557 GB, free: 13.06 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.6935, allocations: 1.751 MB / 0.5587 GB, free: 11.77 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.433e-05/0.6936, allocations: 72.17 kB / 0.5588 GB, free: 11.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.882e-05/0.6937, allocations: 23.2 kB / 0.5588 GB, free: 11.68 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.02e-05/0.6937, allocations: 19.88 kB / 0.5588 GB, free: 11.68 MB / 462.1 MB Notification: Performance of SimCode: time 3.1e-07/0.6937, allocations: 0 / 0.5588 GB, free: 11.68 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03574/0.7294, allocations: 6.923 MB / 0.5656 GB, free: 10.35 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/12.13, allocations: 7.266 kB / 0.5656 GB, free: 10.34 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.706164501141757]