Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 102.6 kB / 17.58 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 191.9 kB / 18.5 MB, free: 4.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.018/2.018, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002406/0.002406, allocations: 52.14 kB / 280.7 MB, free: 3.086 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.149, allocations: 46.63 MB / 327.4 MB, free: 4.387 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.003374/0.1525, allocations: 1.361 MB / 328.7 MB, free: 3.008 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.6099/0.7624, allocations: 150.8 MB / 479.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.7627, allocations: 4 kB / 479.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.096e-05/0.7628, allocations: 15.86 kB / 479.5 MB, free: 14.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002472/0.7653, allocations: 348.3 kB / 479.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00443/0.7697, allocations: 0.8059 MB / 480.7 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.77, allocations: 71.7 kB / 480.7 MB, free: 13.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.059e-05/0.77, allocations: 7.938 kB / 480.7 MB, free: 13.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.7702, allocations: 31.86 kB / 480.8 MB, free: 13.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.7704, allocations: 31.89 kB / 480.8 MB, free: 13.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.7704, allocations: 4 kB / 480.8 MB, free: 13.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005536/0.776, allocations: 1.341 MB / 482.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.222e-05/0.7761, allocations: 15.92 kB / 482.2 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.7762, allocations: 27.86 kB / 482.2 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00327/0.7795, allocations: 0.8498 MB / 483 MB, free: 11.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.7796, allocations: 4 kB / 483 MB, free: 11.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.7796, allocations: 0 / 483 MB, free: 11.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.7796, allocations: 0 / 483 MB, free: 11.41 MB / 382.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.00139/0.781, allocations: 483.7 kB / 483.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.558e-05/0.7811, allocations: 12.03 kB / 483.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.239e-05/0.7812, allocations: 34.75 kB / 483.6 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006442/0.7818, allocations: 44.78 kB / 483.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003575/0.7822, allocations: 197.8 kB / 483.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.121e-05/0.7823, allocations: 384 / 483.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.38e-05/0.7823, allocations: 7.938 kB / 483.8 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/0.7827, allocations: 71.38 kB / 483.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.7827, allocations: 0 / 483.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.7827, allocations: 4 kB / 483.9 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.7828, allocations: 4 kB / 483.9 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002277/0.783, allocations: 43.91 kB / 483.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004655/0.7835, allocations: 186.6 kB / 484.1 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006588/0.7842, allocations: 121 kB / 484.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.7844, allocations: 37.77 kB / 484.3 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001121/0.7855, allocations: 145 kB / 484.4 MB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.448e-05/0.7856, allocations: 38.5 kB / 484.4 MB, free: 9.805 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.024e-06/0.7856, allocations: 0 / 484.4 MB, free: 9.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007041/0.7863, allocations: 121.5 kB / 484.6 MB, free: 9.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.254e-05/0.7864, allocations: 85.05 kB / 484.6 MB, free: 9.578 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.7867, allocations: 138.4 kB / 484.8 MB, free: 9.434 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.7867, allocations: 25.7 kB / 484.8 MB, free: 9.402 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.183e-05/0.7868, allocations: 88.14 kB / 484.9 MB, free: 9.312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.935e-05/0.7869, allocations: 31.64 kB / 484.9 MB, free: 9.281 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.365e-05/0.787, allocations: 21.72 kB / 484.9 MB, free: 9.254 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002041/0.7872, allocations: 322.8 kB / 485.3 MB, free: 8.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.7874, allocations: 19.98 kB / 485.3 MB, free: 8.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.7876, allocations: 55.34 kB / 485.3 MB, free: 8.844 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003227/0.7879, allocations: 83.34 kB / 485.4 MB, free: 8.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.7879, allocations: 0 / 485.4 MB, free: 8.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005151/0.7885, allocations: 117.4 kB / 485.5 MB, free: 8.629 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.7885, allocations: 4 kB / 485.5 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.7885, allocations: 4 kB / 485.5 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.7886, allocations: 0 / 485.5 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.7887, allocations: 16.06 kB / 485.5 MB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.7887, allocations: 0 / 485.5 MB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.7889, allocations: 7.984 kB / 485.6 MB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.7889, allocations: 4 kB / 485.6 MB, free: 8.594 MB / 382.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.0001589/0.7891, allocations: 121.7 kB / 485.7 MB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.7892, allocations: 7.906 kB / 485.7 MB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004821/0.7897, allocations: 110.4 kB / 485.8 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.7897, allocations: 4 kB / 485.8 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.7898, allocations: 4 kB / 485.8 MB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.7898, allocations: 3.984 kB / 485.8 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002962/0.7901, allocations: 185.6 kB / 486 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/0.7901, allocations: 8.859 kB / 486 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.7903, allocations: 11.98 kB / 486 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.7903, allocations: 0 / 486 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/0.7903, allocations: 4 kB / 486 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.7904, allocations: 3.938 kB / 486 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.7904, allocations: 0 / 486 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006513/0.791, allocations: 172.5 kB / 486.2 MB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.7912, allocations: 85.09 kB / 486.3 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.7912, allocations: 4.031 kB / 486.3 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.096e-05/0.7913, allocations: 0 / 486.3 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.49e-05/0.7914, allocations: 7.984 kB / 486.3 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.7914, allocations: 4 kB / 486.3 MB, free: 7.773 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001588/0.7916, allocations: 115.3 kB / 486.4 MB, free: 7.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.7916, allocations: 0 / 486.4 MB, free: 7.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001361/0.793, allocations: 207.8 kB / 486.6 MB, free: 7.457 MB / 382.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.003945/0.797, allocations: 1.107 MB / 487.7 MB, free: 6.324 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004069/0.7974, allocations: 71.83 kB / 487.8 MB, free: 6.254 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.7974, allocations: 0 / 487.8 MB, free: 6.254 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.7976, allocations: 39.91 kB / 487.8 MB, free: 6.215 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004955/0.7981, allocations: 25.09 kB / 487.8 MB, free: 6.191 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004126/0.8023, allocations: 1.748 MB / 489.6 MB, free: 4.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005247/0.8028, allocations: 0.6924 MB / 490.3 MB, free: 3.621 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001451/0.803, allocations: 20 kB / 490.3 MB, free: 3.602 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.504e-05/0.8031, allocations: 19.42 kB / 490.3 MB, free: 3.582 MB / 382.1 MB Notification: Performance of SimCode: time 8.42e-07/0.8031, allocations: 4 kB / 490.3 MB, free: 3.578 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05048/0.8536, allocations: 7.634 MB / 498 MB, free: 11.88 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.26, allocations: 8.609 kB / 498 MB, free: 11.88 MB / 398.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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.0004 Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_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_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches