Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_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_0_0_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.001334/0.001334, allocations: 106.4 kB / 16.51 MB, free: 6.719 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.001386/0.001386, allocations: 194.5 kB / 17.43 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.258/1.258, allocations: 222.9 MB / 241.1 MB, free: 15.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009094/0.0009094, allocations: 47.81 kB / 300.1 MB, free: 6.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07867/0.0796, allocations: 49.44 MB / 349.5 MB, free: 4.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002129/0.08176, allocations: 1.43 MB / 350.9 MB, free: 3.258 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.2623/0.344, allocations: 146.8 MB / 497.7 MB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.042e-05/0.3441, allocations: 0 / 497.7 MB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.789e-05/0.3442, allocations: 7.922 kB / 497.8 MB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009891/0.3452, allocations: 327.5 kB / 498.1 MB, free: 0.668 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009913/0.3462, allocations: 458.6 kB / 498.5 MB, free: 224 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.3463, allocations: 95.56 kB / 498.6 MB, free: 128 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.268e-05/0.3464, allocations: 4 kB / 498.6 MB, free: 124 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.189e-05/0.3464, allocations: 39.83 kB / 498.7 MB, free: 84 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.074e-05/0.3465, allocations: 31.91 kB / 498.7 MB, free: 52 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.3465, allocations: 0 / 498.7 MB, free: 52 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001804/0.3483, allocations: 1.236 MB / 499.9 MB, free: 14.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.78e-05/0.3484, allocations: 19.91 kB / 499.9 MB, free: 14.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.974e-05/0.3484, allocations: 27.86 kB / 500 MB, free: 14.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.3496, allocations: 0.7716 MB / 0.489 GB, free: 14 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.3497, allocations: 0 / 0.489 GB, free: 14 MB / 414.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.3497, allocations: 4 kB / 0.489 GB, free: 13.99 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.3497, allocations: 0 / 0.489 GB, free: 13.99 MB / 414.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.0005253/0.3502, allocations: 451.8 kB / 0.4894 GB, free: 13.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3503, allocations: 19.97 kB / 0.4895 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.592e-05/0.3503, allocations: 34.75 kB / 0.4895 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004316/0.3507, allocations: 64.77 kB / 0.4896 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.3509, allocations: 199.9 kB / 0.4897 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.3509, allocations: 3.938 kB / 0.4898 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.3509, allocations: 8 kB / 0.4898 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.3511, allocations: 67.39 kB / 0.4898 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.3511, allocations: 0 / 0.4898 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.3511, allocations: 4 kB / 0.4898 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3511, allocations: 4 kB / 0.4898 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.603e-05/0.3512, allocations: 43.91 kB / 0.4899 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/0.3514, allocations: 198.5 kB / 0.4901 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.3517, allocations: 125.1 kB / 0.4902 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.2e-05/0.3517, allocations: 37.75 kB / 0.4902 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004842/0.3522, allocations: 133 kB / 0.4903 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.3523, allocations: 34.56 kB / 0.4904 GB, free: 12.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 2.435e-06/0.3523, allocations: 0 / 0.4904 GB, free: 12.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003218/0.3526, allocations: 121.4 kB / 0.4905 GB, free: 12.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.3526, allocations: 77.11 kB / 0.4906 GB, free: 12.17 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.3528, allocations: 141.8 kB / 0.4907 GB, free: 12.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.3528, allocations: 33.69 kB / 0.4907 GB, free: 11.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.259e-05/0.3528, allocations: 88.14 kB / 0.4908 GB, free: 11.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.3528, allocations: 19.66 kB / 0.4908 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.3529, allocations: 25.7 kB / 0.4909 GB, free: 11.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.017e-05/0.353, allocations: 314.8 kB / 0.4912 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.62e-05/0.353, allocations: 24.67 kB / 0.4912 GB, free: 11.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.881e-05/0.3531, allocations: 59.34 kB / 0.4912 GB, free: 11.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.3533, allocations: 83.28 kB / 0.4913 GB, free: 11.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3533, allocations: 0 / 0.4913 GB, free: 11.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002243/0.3535, allocations: 109.5 kB / 0.4914 GB, free: 11.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.3535, allocations: 4 kB / 0.4914 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3535, allocations: 4.062 kB / 0.4914 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.3536, allocations: 4.688 kB / 0.4914 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.435e-05/0.3536, allocations: 15.98 kB / 0.4915 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.3536, allocations: 0 / 0.4915 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.569e-05/0.3537, allocations: 4 kB / 0.4915 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.3537, allocations: 4 kB / 0.4915 GB, free: 11.19 MB / 414.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.565e-05/0.3538, allocations: 121.7 kB / 0.4916 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.785e-05/0.3538, allocations: 7.906 kB / 0.4916 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002246/0.3541, allocations: 118.8 kB / 0.4917 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.3541, allocations: 8.016 kB / 0.4917 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3541, allocations: 4 kB / 0.4917 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3541, allocations: 0 / 0.4917 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.3542, allocations: 189.5 kB / 0.4919 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3542, allocations: 0 / 0.4919 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.194e-05/0.3543, allocations: 16 kB / 0.4919 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3543, allocations: 0 / 0.4919 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.3543, allocations: 0 / 0.4919 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.3543, allocations: 4 kB / 0.4919 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3544, allocations: 7.984 kB / 0.4919 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.3546, allocations: 165.7 kB / 0.4921 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.978e-05/0.3547, allocations: 89.03 kB / 0.4922 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.3547, allocations: 0 / 0.4922 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.6e-05/0.3548, allocations: 11.94 kB / 0.4922 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.271e-05/0.3548, allocations: 12.05 kB / 0.4922 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.3548, allocations: 0 / 0.4922 GB, free: 10.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.464e-05/0.3549, allocations: 115.6 kB / 0.4923 GB, free: 10.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3549, allocations: 0 / 0.4923 GB, free: 10.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004681/0.3554, allocations: 163.8 kB / 0.4924 GB, free: 10.08 MB / 414.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.001375/0.3568, allocations: 1.018 MB / 0.4934 GB, free: 9.043 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001717/0.3569, allocations: 59.91 kB / 0.4935 GB, free: 8.984 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.357, allocations: 0 / 0.4935 GB, free: 8.984 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.223e-05/0.357, allocations: 35.97 kB / 0.4935 GB, free: 8.949 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.3573, allocations: 24.05 kB / 0.4936 GB, free: 8.926 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.3589, allocations: 1.745 MB / 0.4953 GB, free: 7.074 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001861/0.3591, allocations: 0.6887 MB / 0.4959 GB, free: 6.359 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.683e-05/0.3592, allocations: 20.36 kB / 0.496 GB, free: 6.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.274e-05/0.3592, allocations: 15.44 kB / 0.496 GB, free: 6.324 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3592, allocations: 0 / 0.496 GB, free: 6.324 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5359/0.8952, allocations: 5.985 MB / 0.5018 GB, free: 488 kB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002983/0.8955, allocations: 259.9 kB / 0.5021 GB, free: 152 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.738/3.634, allocations: 3.938 kB / 0.5021 GB, free: 148 kB / 414.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX.fmu > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches