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.001092/0.001092, allocations: 104.7 kB / 17.15 MB, free: 6.305 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.001091/0.001092, allocations: 198 kB / 18.07 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.211/1.211, allocations: 205.1 MB / 223.9 MB, free: 12.38 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.001224/0.001224, allocations: 48.14 kB / 280.1 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07439/0.07563, allocations: 46.63 MB / 326.7 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001952/0.07761, allocations: 1.432 MB / 328.1 MB, free: 3.348 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.2545/0.3322, allocations: 148.5 MB / 476.7 MB, free: 1.617 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.052e-05/0.3323, allocations: 0 / 476.7 MB, free: 1.617 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.399e-05/0.3323, allocations: 0 / 476.7 MB, free: 1.617 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000917/0.3332, allocations: 322.9 kB / 477 MB, free: 1.305 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.3347, allocations: 0.696 MB / 477.7 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.3349, allocations: 91.67 kB / 477.8 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.97e-05/0.3349, allocations: 11.92 kB / 477.8 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.517e-05/0.3349, allocations: 27.86 kB / 477.8 MB, free: 492 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.148e-05/0.335, allocations: 39.84 kB / 477.8 MB, free: 452 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.335, allocations: 4 kB / 477.8 MB, free: 448 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00215/0.3372, allocations: 1.52 MB / 479.4 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.228e-05/0.3372, allocations: 15.98 kB / 479.4 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.095e-05/0.3373, allocations: 35.67 kB / 479.4 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.3387, allocations: 0.9275 MB / 480.3 MB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.3387, allocations: 0 / 480.3 MB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.3387, allocations: 0 / 480.3 MB, free: 13.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.3387, allocations: 0 / 480.3 MB, free: 13.93 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.0005836/0.3393, allocations: 475.9 kB / 480.8 MB, free: 13.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.3393, allocations: 8.031 kB / 480.8 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.268e-05/0.3394, allocations: 46.69 kB / 480.9 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002696/0.3397, allocations: 36.8 kB / 480.9 MB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.3398, allocations: 196.2 kB / 481.1 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.3398, allocations: 8.312 kB / 481.1 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.3398, allocations: 7.938 kB / 481.1 MB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.34, allocations: 71.38 kB / 481.2 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.35e-06/0.34, allocations: 0 / 481.2 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.34, allocations: 0 / 481.2 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.34, allocations: 4 kB / 481.2 MB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.416e-05/0.3401, allocations: 51.89 kB / 481.2 MB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.3403, allocations: 186.6 kB / 481.4 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.3406, allocations: 113.2 kB / 481.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.756e-05/0.3406, allocations: 41.7 kB / 481.6 MB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004906/0.3411, allocations: 141 kB / 481.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.3412, allocations: 39.12 kB / 481.7 MB, free: 12.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.3412, allocations: 0 / 481.7 MB, free: 12.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003046/0.3415, allocations: 121.5 kB / 481.9 MB, free: 12.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.3415, allocations: 77.11 kB / 481.9 MB, free: 12.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.821e-05/0.3416, allocations: 143.8 kB / 482.1 MB, free: 11.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.3416, allocations: 25.7 kB / 482.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.074e-05/0.3417, allocations: 92.14 kB / 482.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.3417, allocations: 23.64 kB / 482.2 MB, free: 11.81 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.3417, allocations: 21.72 kB / 482.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.374e-05/0.3418, allocations: 318.8 kB / 482.5 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.263e-05/0.3419, allocations: 23.98 kB / 482.6 MB, free: 11.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.819e-05/0.342, allocations: 47.42 kB / 482.6 MB, free: 11.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.3421, allocations: 83.34 kB / 482.7 MB, free: 11.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.3421, allocations: 2.312 kB / 482.7 MB, free: 11.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002272/0.3424, allocations: 121.4 kB / 482.8 MB, free: 11.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.3424, allocations: 4 kB / 482.8 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.3424, allocations: 0 / 482.8 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.3424, allocations: 8.531 kB / 482.8 MB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.121e-05/0.3425, allocations: 12 kB / 482.8 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.3425, allocations: 0 / 482.8 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.451e-05/0.3425, allocations: 11.92 kB / 482.8 MB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.3425, allocations: 4 kB / 482.9 MB, free: 11.12 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 6.191e-05/0.3426, allocations: 113.8 kB / 483 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/0.3427, allocations: 7.906 kB / 483 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002164/0.3429, allocations: 122.5 kB / 483.1 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3429, allocations: 3.984 kB / 483.1 MB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.3429, allocations: 7.938 kB / 483.1 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.3429, allocations: 0 / 483.1 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.343, allocations: 185.5 kB / 483.3 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.343, allocations: 0 / 483.3 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.514e-05/0.3431, allocations: 19.92 kB / 483.3 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3431, allocations: 0 / 483.3 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.3431, allocations: 0 / 483.3 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.3431, allocations: 7.938 kB / 483.3 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3432, allocations: 0 / 483.3 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.3434, allocations: 165.8 kB / 483.5 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.855e-05/0.3435, allocations: 85.12 kB / 483.6 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.3435, allocations: 4 kB / 483.6 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.14e-05/0.3436, allocations: 7.984 kB / 483.6 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/0.3436, allocations: 7.938 kB / 483.6 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.3436, allocations: 4.062 kB / 483.6 MB, free: 10.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.199e-05/0.3437, allocations: 115.2 kB / 483.7 MB, free: 10.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3437, allocations: 0 / 483.7 MB, free: 10.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004947/0.3442, allocations: 207.8 kB / 483.9 MB, free: 9.984 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.001472/0.3457, allocations: 1.106 MB / 485 MB, free: 8.852 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001658/0.3458, allocations: 63.91 kB / 485.1 MB, free: 8.789 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3459, allocations: 0 / 485.1 MB, free: 8.789 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.02e-05/0.3459, allocations: 36.19 kB / 485.1 MB, free: 8.754 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.3461, allocations: 19.98 kB / 485.1 MB, free: 8.734 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.3478, allocations: 1.778 MB / 486.9 MB, free: 6.855 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/0.348, allocations: 0.6887 MB / 487.6 MB, free: 6.141 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.578e-05/0.348, allocations: 20 kB / 487.6 MB, free: 6.121 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.735e-05/0.3481, allocations: 27.42 kB / 487.6 MB, free: 6.094 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3481, allocations: 0 / 487.6 MB, free: 6.094 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4483/0.7964, allocations: 7.438 MB / 495.1 MB, free: 14.62 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002279/0.7967, allocations: 256 kB / 495.3 MB, free: 14.36 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.03/2.827, allocations: 7.938 kB / 495.3 MB, free: 14.35 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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","../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