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.001358/0.001358, allocations: 88.33 kB / 20.67 MB, free: 3.875 MB / 18.57 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.0008787/0.0008787, allocations: 160.9 kB / 23.95 MB, free: 0.5977 MB / 18.57 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 0.8726/0.8726, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.312e-06/1.312e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017e-05/1.148e-05, allocations: 7.062 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001403/0.001415, allocations: 1.359 MB / 325.9 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.2817/0.2831, allocations: 131 MB / 456.8 MB, free: 5.547 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.039e-05/0.2832, allocations: 1.094 kB / 456.8 MB, free: 5.547 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.423e-05/0.2832, allocations: 5.531 kB / 456.8 MB, free: 5.547 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.2842, allocations: 382 kB / 457.2 MB, free: 5.543 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009244/0.2852, allocations: 0.5326 MB / 457.7 MB, free: 5.523 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000118/0.2853, allocations: 75.06 kB / 457.8 MB, free: 5.523 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.258e-05/0.2853, allocations: 4.734 kB / 457.8 MB, free: 5.523 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.773e-05/0.2854, allocations: 46.67 kB / 457.9 MB, free: 5.523 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.869e-05/0.2855, allocations: 32.91 kB / 457.9 MB, free: 5.523 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.2855, allocations: 3.688 kB / 457.9 MB, free: 5.523 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001104/0.2866, allocations: 0.948 MB / 458.8 MB, free: 5.508 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.999e-05/0.2866, allocations: 16.25 kB / 458.9 MB, free: 5.508 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.2867, allocations: 23.64 kB / 458.9 MB, free: 5.508 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006514/0.2873, allocations: 0.7468 MB / 459.6 MB, free: 5.477 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2873, allocations: 3.047 kB / 459.6 MB, free: 5.477 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2873, allocations: 0.9375 kB / 459.6 MB, free: 5.477 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.2873, allocations: 3.094 kB / 459.6 MB, free: 5.477 MB / 410.7 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.0003975/0.2877, allocations: 387.7 kB / 460 MB, free: 5.148 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.2878, allocations: 12.08 kB / 460 MB, free: 5.145 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.481e-05/0.2878, allocations: 38.16 kB / 460.1 MB, free: 5.105 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002841/0.2881, allocations: 68.92 kB / 460.1 MB, free: 5.102 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.371e-05/0.2882, allocations: 135.8 kB / 460.3 MB, free: 4.973 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.2882, allocations: 4.594 kB / 460.3 MB, free: 4.973 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.2882, allocations: 0 / 460.3 MB, free: 4.973 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.2883, allocations: 79.88 kB / 460.3 MB, free: 4.922 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.2883, allocations: 1.094 kB / 460.3 MB, free: 4.922 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.2883, allocations: 0.5938 kB / 460.3 MB, free: 4.922 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.2883, allocations: 2.531 kB / 460.3 MB, free: 4.922 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.343e-05/0.2884, allocations: 43.62 kB / 460.4 MB, free: 4.922 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001194/0.2885, allocations: 165.2 kB / 460.6 MB, free: 4.758 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.2887, allocations: 116.7 kB / 460.7 MB, free: 4.707 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.701e-05/0.2887, allocations: 32.89 kB / 460.7 MB, free: 4.691 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003008/0.289, allocations: 63.89 kB / 460.8 MB, free: 4.688 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.335e-05/0.2891, allocations: 39.58 kB / 460.8 MB, free: 4.648 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.2891, allocations: 2.625 kB / 460.8 MB, free: 4.648 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002137/0.2893, allocations: 115.9 kB / 460.9 MB, free: 4.613 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.04e-05/0.2893, allocations: 84.81 kB / 461 MB, free: 4.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.36e-05/0.2894, allocations: 138 kB / 461.1 MB, free: 4.422 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.139e-06/0.2894, allocations: 28.95 kB / 461.2 MB, free: 4.391 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.777e-05/0.2894, allocations: 85.97 kB / 461.2 MB, free: 4.309 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.2894, allocations: 21.94 kB / 461.3 MB, free: 4.297 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.42e-05/0.2894, allocations: 22.05 kB / 461.3 MB, free: 4.281 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.66e-05/0.2895, allocations: 317 kB / 461.6 MB, free: 3.969 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.444e-05/0.2895, allocations: 30.7 kB / 461.6 MB, free: 3.969 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.867e-05/0.2895, allocations: 53.94 kB / 461.7 MB, free: 3.938 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.689e-05/0.2896, allocations: 77.67 kB / 461.8 MB, free: 3.906 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.2896, allocations: 2.25 kB / 461.8 MB, free: 3.906 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001205/0.2897, allocations: 114.3 kB / 461.9 MB, free: 3.867 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.2897, allocations: 6.844 kB / 461.9 MB, free: 3.867 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2897, allocations: 0.5469 kB / 461.9 MB, free: 3.867 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.2898, allocations: 2.875 kB / 461.9 MB, free: 3.867 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.657e-05/0.2898, allocations: 18.42 kB / 461.9 MB, free: 3.867 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.2898, allocations: 1.75 kB / 461.9 MB, free: 3.867 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.906e-05/0.2898, allocations: 12.02 kB / 461.9 MB, free: 3.859 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.2898, allocations: 3.766 kB / 461.9 MB, free: 3.859 MB / 410.7 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 3.49e-05/0.2899, allocations: 119.4 kB / 462 MB, free: 3.746 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.2899, allocations: 13.67 kB / 462 MB, free: 3.738 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.29, allocations: 116.3 kB / 462.2 MB, free: 3.695 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.29, allocations: 0 / 462.2 MB, free: 3.695 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.29, allocations: 3.062 kB / 462.2 MB, free: 3.695 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.29, allocations: 1.062 kB / 462.2 MB, free: 3.695 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.934e-05/0.2901, allocations: 155.5 kB / 462.3 MB, free: 3.543 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.2901, allocations: 3.938 kB / 462.3 MB, free: 3.539 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.2901, allocations: 13.41 kB / 462.3 MB, free: 3.535 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.2901, allocations: 3.859 kB / 462.3 MB, free: 3.535 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.2901, allocations: 7.578 kB / 462.3 MB, free: 3.535 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2902, allocations: 2.562 kB / 462.3 MB, free: 3.535 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2902, allocations: 0.75 kB / 462.3 MB, free: 3.535 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.2903, allocations: 162.3 kB / 462.5 MB, free: 3.461 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.378e-05/0.2903, allocations: 13.67 kB / 462.5 MB, free: 3.453 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.2904, allocations: 2.906 kB / 462.5 MB, free: 3.453 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.774e-05/0.2904, allocations: 4 kB / 462.5 MB, free: 3.453 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.904e-05/0.2904, allocations: 5.531 kB / 462.5 MB, free: 3.453 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.2904, allocations: 6.906 kB / 462.5 MB, free: 3.453 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.649e-05/0.2904, allocations: 114.1 kB / 462.6 MB, free: 3.379 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2904, allocations: 2.906 kB / 462.6 MB, free: 3.379 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003126/0.2908, allocations: 164.2 kB / 462.8 MB, free: 3.344 MB / 410.7 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.0007802/0.2915, allocations: 1.025 MB / 463.8 MB, free: 2.703 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001214/0.2917, allocations: 66.8 kB / 463.9 MB, free: 2.703 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.2917, allocations: 0 / 463.9 MB, free: 2.703 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.862e-05/0.2917, allocations: 31.97 kB / 463.9 MB, free: 2.703 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.2919, allocations: 21.72 kB / 464 MB, free: 2.703 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009919/0.2929, allocations: 1.695 MB / 465.6 MB, free: 1.445 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.452e-05/0.2929, allocations: 77.06 kB / 465.7 MB, free: 1.375 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.894e-05/0.293, allocations: 16 kB / 465.7 MB, free: 1.367 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.944e-05/0.293, allocations: 31.72 kB / 465.8 MB, free: 1.355 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.293, allocations: 0 / 465.8 MB, free: 1.355 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01918/0.3122, allocations: 7.091 MB / 472.9 MB, free: 15.88 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.965/7.277, allocations: 13.84 kB / 472.9 MB, free: 15.87 MB / 426.7 MB " [Timeout remaining time 653] (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/jenkins/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/jenkins/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: 9.058055411092937]