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.001411/0.001411, allocations: 114.5 kB / 17.73 MB, free: 5.336 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.001404/0.001404, allocations: 187 kB / 18.67 MB, free: 4.402 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.265/1.265, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001776/0.001776, allocations: 55.92 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07888/0.08067, allocations: 46.62 MB / 374.6 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002574/0.08328, allocations: 1.365 MB / 376 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3065/0.3898, allocations: 150.8 MB / 0.5144 GB, free: 7.359 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.127e-05/0.39, allocations: 0 / 0.5144 GB, free: 7.359 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.535e-05/0.39, allocations: 3.984 kB / 0.5144 GB, free: 7.355 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001085/0.3911, allocations: 354.5 kB / 0.5148 GB, free: 7.008 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001861/0.393, allocations: 0.8164 MB / 0.5156 GB, free: 6.195 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.3931, allocations: 63.72 kB / 0.5156 GB, free: 6.133 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.318e-05/0.3931, allocations: 4 kB / 0.5156 GB, free: 6.129 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.877e-05/0.3932, allocations: 39.83 kB / 0.5157 GB, free: 6.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.518e-05/0.3933, allocations: 31.91 kB / 0.5157 GB, free: 6.059 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.3933, allocations: 0 / 0.5157 GB, free: 6.059 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002286/0.3956, allocations: 1.411 MB / 0.5171 GB, free: 4.645 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.39e-05/0.3956, allocations: 11.98 kB / 0.5171 GB, free: 4.633 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.921e-05/0.3957, allocations: 31.86 kB / 0.5171 GB, free: 4.602 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.397, allocations: 0.8571 MB / 0.518 GB, free: 3.742 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.397, allocations: 0 / 0.518 GB, free: 3.742 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.397, allocations: 0 / 0.518 GB, free: 3.742 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.044e-06/0.397, allocations: 3.984 kB / 0.518 GB, free: 3.738 MB / 446.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.0006407/0.3977, allocations: 490 kB / 0.5184 GB, free: 3.211 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.3977, allocations: 8.031 kB / 0.5184 GB, free: 3.203 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.686e-05/0.3977, allocations: 34.75 kB / 0.5185 GB, free: 3.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002746/0.398, allocations: 36.89 kB / 0.5185 GB, free: 3.125 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.3982, allocations: 196.2 kB / 0.5187 GB, free: 2.895 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.3982, allocations: 4.375 kB / 0.5187 GB, free: 2.891 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.3983, allocations: 7.938 kB / 0.5187 GB, free: 2.883 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.3984, allocations: 75.38 kB / 0.5188 GB, free: 2.797 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.3985, allocations: 3.938 kB / 0.5188 GB, free: 2.793 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.3985, allocations: 0 / 0.5188 GB, free: 2.793 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.3985, allocations: 0 / 0.5188 GB, free: 2.793 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.3986, allocations: 43.97 kB / 0.5188 GB, free: 2.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000215/0.3988, allocations: 194.6 kB / 0.519 GB, free: 2.508 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/0.3991, allocations: 121.1 kB / 0.5191 GB, free: 2.371 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.567e-05/0.3992, allocations: 33.64 kB / 0.5192 GB, free: 2.332 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000499/0.3997, allocations: 137 kB / 0.5193 GB, free: 2.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.3998, allocations: 34.56 kB / 0.5193 GB, free: 2.137 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.3998, allocations: 0 / 0.5193 GB, free: 2.137 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003434/0.4001, allocations: 121.9 kB / 0.5194 GB, free: 2.012 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.4002, allocations: 81.11 kB / 0.5195 GB, free: 1.914 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.4003, allocations: 139.2 kB / 0.5196 GB, free: 1.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.4003, allocations: 25.7 kB / 0.5197 GB, free: 1.738 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.485e-05/0.4004, allocations: 88.14 kB / 0.5198 GB, free: 1.648 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.4004, allocations: 27.73 kB / 0.5198 GB, free: 1.621 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.4005, allocations: 25.66 kB / 0.5198 GB, free: 1.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.4006, allocations: 322.8 kB / 0.5201 GB, free: 1.266 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.296e-05/0.4007, allocations: 27.98 kB / 0.5201 GB, free: 1.238 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.238e-05/0.4008, allocations: 51.42 kB / 0.5202 GB, free: 1.176 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.401, allocations: 87.38 kB / 0.5203 GB, free: 1.078 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.401, allocations: 0 / 0.5203 GB, free: 1.078 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000255/0.4012, allocations: 113.5 kB / 0.5204 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.4013, allocations: 4 kB / 0.5204 GB, free: 0.957 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.4013, allocations: 0 / 0.5204 GB, free: 0.957 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.4013, allocations: 4 kB / 0.5204 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.788e-05/0.4014, allocations: 12 kB / 0.5204 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.4014, allocations: 3.938 kB / 0.5204 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.27e-05/0.4014, allocations: 19.98 kB / 0.5204 GB, free: 0.918 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.4014, allocations: 4.875 kB / 0.5204 GB, free: 0.9141 MB / 446.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 7.631e-05/0.4015, allocations: 109.8 kB / 0.5205 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.975e-05/0.4016, allocations: 7.953 kB / 0.5205 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002528/0.4018, allocations: 112 kB / 0.5206 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.4019, allocations: 7.984 kB / 0.5207 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.4019, allocations: 0 / 0.5207 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.4019, allocations: 0 / 0.5207 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.402, allocations: 193.5 kB / 0.5208 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.4021, allocations: 2.75 kB / 0.5208 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.205e-05/0.4021, allocations: 15.98 kB / 0.5209 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.4022, allocations: 3.938 kB / 0.5209 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.4022, allocations: 0 / 0.5209 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.4022, allocations: 4 kB / 0.5209 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4022, allocations: 0 / 0.5209 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003456/0.4025, allocations: 165.8 kB / 0.521 GB, free: 224 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.521e-05/0.4026, allocations: 93.08 kB / 0.5211 GB, free: 112 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.4026, allocations: 4 kB / 0.5211 GB, free: 108 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.185e-05/0.4027, allocations: 3.984 kB / 0.5211 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.4027, allocations: 8 kB / 0.5211 GB, free: 96 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.4027, allocations: 0 / 0.5211 GB, free: 96 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001055/0.4028, allocations: 119.2 kB / 0.5212 GB, free: 15.98 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4028, allocations: 0 / 0.5212 GB, free: 15.98 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005326/0.4034, allocations: 203.3 kB / 0.5214 GB, free: 15.78 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.001678/0.4051, allocations: 1.115 MB / 0.5225 GB, free: 14.64 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002023/0.4053, allocations: 67.95 kB / 0.5226 GB, free: 14.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4053, allocations: 0 / 0.5226 GB, free: 14.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.76e-05/0.4054, allocations: 35.92 kB / 0.5226 GB, free: 14.54 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.4056, allocations: 30.02 kB / 0.5226 GB, free: 14.51 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.4076, allocations: 1.752 MB / 0.5244 GB, free: 12.65 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.4079, allocations: 0.6924 MB / 0.525 GB, free: 11.93 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.816e-05/0.408, allocations: 24.7 kB / 0.5251 GB, free: 11.91 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.132e-05/0.408, allocations: 23.44 kB / 0.5251 GB, free: 11.88 MB / 462.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4081, allocations: 4 kB / 0.5251 GB, free: 11.88 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0309/0.439, allocations: 7.744 MB / 0.5326 GB, free: 4.086 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.749/8.188, allocations: 7.984 kB / 0.5327 GB, free: 4.078 MB / 462.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","/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