Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_cpp_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_cpp_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/Complex 3.2.3+maint.om/package.mo): time 0.001331/0.001331, allocations: 175.2 kB / 16.72 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.168/1.168, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007307/0.0007307, allocations: 100.4 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002692/0.0002692, allocations: 8 kB / 327.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1753, allocations: 47.58 MB / 375.2 MB, free: 45.46 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001005/0.1763, allocations: 1.083 MB / 376.3 MB, free: 44.58 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.282/0.4583, allocations: 136.9 MB / 0.5012 GB, free: 1.453 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.531e-05/0.4584, allocations: 5.531 kB / 0.5012 GB, free: 1.453 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.677e-05/0.4584, allocations: 3.234 kB / 0.5012 GB, free: 1.453 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001045/0.4595, allocations: 294.8 kB / 0.5014 GB, free: 1.445 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001666/0.4612, allocations: 0.6842 MB / 0.5021 GB, free: 1.414 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.4613, allocations: 79.72 kB / 0.5022 GB, free: 1.414 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.56e-05/0.4613, allocations: 7.016 kB / 0.5022 GB, free: 1.414 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.108e-05/0.4614, allocations: 34.62 kB / 0.5022 GB, free: 1.414 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.44e-05/0.4615, allocations: 33.28 kB / 0.5023 GB, free: 1.414 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.4615, allocations: 2.906 kB / 0.5023 GB, free: 1.414 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002266/0.4638, allocations: 1.509 MB / 0.5037 GB, free: 1.398 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.472e-05/0.4638, allocations: 12.58 kB / 0.5038 GB, free: 1.398 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.226e-05/0.4639, allocations: 53.98 kB / 0.5038 GB, free: 1.367 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009481/0.4648, allocations: 0.6061 MB / 0.5044 GB, free: 1.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4648, allocations: 0 / 0.5044 GB, free: 1.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4648, allocations: 0 / 0.5044 GB, free: 1.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.4648, allocations: 4.562 kB / 0.5044 GB, free: 1.336 MB / 378.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.0006244/0.4655, allocations: 465.7 kB / 0.5048 GB, free: 16.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.4655, allocations: 9.219 kB / 0.5049 GB, free: 16.91 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.821e-05/0.4656, allocations: 37.09 kB / 0.5049 GB, free: 16.88 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002557/0.4658, allocations: 29.89 kB / 0.5049 GB, free: 16.88 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.466, allocations: 203.4 kB / 0.5051 GB, free: 16.67 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.466, allocations: 2.438 kB / 0.5051 GB, free: 16.67 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.466, allocations: 10.11 kB / 0.5051 GB, free: 16.67 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.4661, allocations: 73.5 kB / 0.5052 GB, free: 16.62 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.4661, allocations: 0 / 0.5052 GB, free: 16.62 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.4662, allocations: 5.312 kB / 0.5052 GB, free: 16.62 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.4662, allocations: 2.906 kB / 0.5052 GB, free: 16.62 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.223e-05/0.4663, allocations: 42.38 kB / 0.5052 GB, free: 16.62 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.4664, allocations: 196.6 kB / 0.5054 GB, free: 16.42 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.4667, allocations: 123.1 kB / 0.5055 GB, free: 16.36 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.067e-05/0.4667, allocations: 34.55 kB / 0.5056 GB, free: 16.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000415/0.4671, allocations: 137.6 kB / 0.5057 GB, free: 16.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.4672, allocations: 36.41 kB / 0.5057 GB, free: 16.21 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.4672, allocations: 0 / 0.5057 GB, free: 16.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.000285/0.4675, allocations: 115 kB / 0.5059 GB, free: 16.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.4675, allocations: 79.05 kB / 0.5059 GB, free: 16.08 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.57e-05/0.4676, allocations: 141.3 kB / 0.5061 GB, free: 15.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.4676, allocations: 32.64 kB / 0.5061 GB, free: 15.95 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.269e-05/0.4677, allocations: 83.02 kB / 0.5062 GB, free: 15.87 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.4677, allocations: 23.95 kB / 0.5062 GB, free: 15.85 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.4677, allocations: 3.25 kB / 0.5062 GB, free: 15.85 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.169e-05/0.4678, allocations: 320.3 kB / 0.5065 GB, free: 15.54 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.531e-05/0.4679, allocations: 22.78 kB / 0.5065 GB, free: 15.54 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.663e-05/0.4679, allocations: 57.58 kB / 0.5066 GB, free: 15.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.468, allocations: 85.75 kB / 0.5067 GB, free: 15.46 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4681, allocations: 3.188 kB / 0.5067 GB, free: 15.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001989/0.4683, allocations: 108.3 kB / 0.5068 GB, free: 15.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.4683, allocations: 5.281 kB / 0.5068 GB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4683, allocations: 7.094 kB / 0.5068 GB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.4683, allocations: 0 / 0.5068 GB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.993e-05/0.4684, allocations: 21.14 kB / 0.5068 GB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.4684, allocations: 2.906 kB / 0.5068 GB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.281e-05/0.4684, allocations: 3.062 kB / 0.5068 GB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.4684, allocations: 3.531 kB / 0.5068 GB, free: 15.42 MB / 394.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.091e-05/0.4685, allocations: 118.3 kB / 0.5069 GB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.174e-05/0.4686, allocations: 7.062 kB / 0.5069 GB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/0.4688, allocations: 116.8 kB / 0.507 GB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.4688, allocations: 1.75 kB / 0.507 GB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.4688, allocations: 6.438 kB / 0.5071 GB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4688, allocations: 3.984 kB / 0.5071 GB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.4689, allocations: 186 kB / 0.5072 GB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4689, allocations: 3.531 kB / 0.5072 GB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.165e-05/0.469, allocations: 16.73 kB / 0.5073 GB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.469, allocations: 1 kB / 0.5073 GB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.469, allocations: 1.781 kB / 0.5073 GB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.469, allocations: 0.5625 kB / 0.5073 GB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4691, allocations: 4.688 kB / 0.5073 GB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003052/0.4694, allocations: 168.3 kB / 0.5074 GB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.518e-05/0.4694, allocations: 90.2 kB / 0.5075 GB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.4695, allocations: 2.734 kB / 0.5075 GB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.247e-05/0.4695, allocations: 5.281 kB / 0.5075 GB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.4695, allocations: 12.05 kB / 0.5075 GB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.4695, allocations: 2.906 kB / 0.5075 GB, free: 14.88 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.206e-05/0.4696, allocations: 112.8 kB / 0.5076 GB, free: 14.8 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4696, allocations: 0 / 0.5076 GB, free: 14.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004859/0.4701, allocations: 205.4 kB / 0.5078 GB, free: 14.76 MB / 394.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001393/0.4715, allocations: 1.118 MB / 0.5089 GB, free: 14.08 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001571/0.4717, allocations: 59.62 kB / 0.509 GB, free: 14.08 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4717, allocations: 2.906 kB / 0.509 GB, free: 14.08 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.249e-05/0.4718, allocations: 28.05 kB / 0.509 GB, free: 14.08 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.472, allocations: 23.28 kB / 0.509 GB, free: 14.08 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.4734, allocations: 0.9576 MB / 0.51 GB, free: 13.51 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001801/0.4736, allocations: 0.6899 MB / 0.5106 GB, free: 12.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.709e-05/0.4736, allocations: 22.53 kB / 0.5107 GB, free: 12.81 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4736, allocations: 4 kB / 0.5107 GB, free: 12.8 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.301/3.774, allocations: 4.989 MB / 0.5155 GB, free: 12.2 MB / 394.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches