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_T.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_T,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",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.0007976/0.0007976, allocations: 175.4 kB / 16.72 MB, free: 5.082 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.118/1.118, 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.0006625/0.0006625, allocations: 93 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002719/0.000272, allocations: 8 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1754, allocations: 47.57 MB / 375.2 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.0009753/0.1764, allocations: 1.068 MB / 376.3 MB, free: 44.56 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.2788/0.4552, allocations: 136.6 MB / 0.5008 GB, free: 1.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.841e-05/0.4553, allocations: 0 / 0.5008 GB, free: 1.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.532e-05/0.4553, allocations: 3.047 kB / 0.5008 GB, free: 1.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00063/0.4559, allocations: 197.3 kB / 0.501 GB, free: 1.508 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.457, allocations: 0.5061 MB / 0.5015 GB, free: 1.488 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.567e-05/0.4571, allocations: 50.86 kB / 0.5015 GB, free: 1.488 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.06e-05/0.4571, allocations: 2.906 kB / 0.5015 GB, free: 1.488 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.276e-05/0.4571, allocations: 24.83 kB / 0.5015 GB, free: 1.484 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.438e-05/0.4572, allocations: 28.69 kB / 0.5016 GB, free: 1.484 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.4572, allocations: 2.906 kB / 0.5016 GB, free: 1.484 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.4582, allocations: 0.7443 MB / 0.5023 GB, free: 1.477 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.077e-05/0.4583, allocations: 9.938 kB / 0.5023 GB, free: 1.477 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.4583, allocations: 54.41 kB / 0.5024 GB, free: 1.441 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004516/0.4588, allocations: 415.2 kB / 0.5028 GB, free: 1.418 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.4588, allocations: 4 kB / 0.5028 GB, free: 1.414 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4588, allocations: 0 / 0.5028 GB, free: 1.414 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.066e-06/0.4588, allocations: 0 / 0.5028 GB, free: 1.414 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.0005267/0.4593, allocations: 442.4 kB / 0.5032 GB, free: 17.01 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.4594, allocations: 8.781 kB / 0.5032 GB, free: 17.01 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.116e-05/0.4594, allocations: 30.75 kB / 0.5032 GB, free: 16.97 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009448/0.4603, allocations: 104.1 kB / 0.5033 GB, free: 16.96 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.4606, allocations: 218.7 kB / 0.5035 GB, free: 16.76 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.4606, allocations: 3.938 kB / 0.5035 GB, free: 16.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.4606, allocations: 5.25 kB / 0.5035 GB, free: 16.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.4608, allocations: 90.02 kB / 0.5036 GB, free: 16.71 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.4608, allocations: 2.844 kB / 0.5036 GB, free: 16.71 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.4609, allocations: 6.594 kB / 0.5036 GB, free: 16.71 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.4609, allocations: 4 kB / 0.5036 GB, free: 16.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.461, allocations: 42.47 kB / 0.5037 GB, free: 16.7 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001989/0.4612, allocations: 222.1 kB / 0.5039 GB, free: 16.49 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003904/0.4616, allocations: 125 kB / 0.504 GB, free: 16.44 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.44e-05/0.4617, allocations: 38.77 kB / 0.504 GB, free: 16.42 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006116/0.4623, allocations: 0.9846 MB / 0.505 GB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.4624, allocations: 36.3 kB / 0.505 GB, free: 15.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.4624, allocations: 0 / 0.505 GB, free: 15.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004217/0.4628, allocations: 131.3 kB / 0.5052 GB, free: 15.22 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.4629, allocations: 81.11 kB / 0.5052 GB, free: 15.12 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.4631, allocations: 155.7 kB / 0.5054 GB, free: 15.03 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.4631, allocations: 25.7 kB / 0.5054 GB, free: 15 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.464e-05/0.4631, allocations: 83.52 kB / 0.5055 GB, free: 14.91 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.4632, allocations: 26.42 kB / 0.5055 GB, free: 14.9 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.147e-06/0.4632, allocations: 0 / 0.5055 GB, free: 14.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.996e-05/0.4633, allocations: 317.1 kB / 0.5058 GB, free: 14.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.192e-05/0.4634, allocations: 31.31 kB / 0.5059 GB, free: 14.58 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.001e-05/0.4635, allocations: 47.88 kB / 0.5059 GB, free: 14.55 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.4637, allocations: 89.2 kB / 0.506 GB, free: 14.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4637, allocations: 0 / 0.506 GB, free: 14.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002767/0.464, allocations: 123.7 kB / 0.5061 GB, free: 14.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.464, allocations: 3.344 kB / 0.5061 GB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.464, allocations: 2.562 kB / 0.5061 GB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.464, allocations: 6.156 kB / 0.5061 GB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.4642, allocations: 29.33 kB / 0.5061 GB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.4642, allocations: 0 / 0.5061 GB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.4643, allocations: 6.625 kB / 0.5062 GB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.4644, allocations: 12.69 kB / 0.5062 GB, free: 14.47 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 7.998e-05/0.4645, allocations: 125.2 kB / 0.5063 GB, free: 14.35 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.4645, allocations: 11.06 kB / 0.5063 GB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004708/0.465, allocations: 235.7 kB / 0.5065 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.465, allocations: 5.844 kB / 0.5065 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.465, allocations: 0 / 0.5065 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.465, allocations: 3.203 kB / 0.5065 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.4652, allocations: 224.1 kB / 0.5067 GB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4652, allocations: 0 / 0.5067 GB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.4653, allocations: 17.86 kB / 0.5068 GB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.4653, allocations: 2.953 kB / 0.5068 GB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.4654, allocations: 6.281 kB / 0.5068 GB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4654, allocations: 0 / 0.5068 GB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4654, allocations: 3.531 kB / 0.5068 GB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003396/0.4657, allocations: 178 kB / 0.5069 GB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.032e-05/0.4658, allocations: 96.67 kB / 0.507 GB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.4658, allocations: 2.953 kB / 0.507 GB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.466, allocations: 8.562 kB / 0.507 GB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.4661, allocations: 15.59 kB / 0.5071 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.4661, allocations: 6.828 kB / 0.5071 GB, free: 13.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001358/0.4662, allocations: 131.6 kB / 0.5072 GB, free: 13.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4662, allocations: 0 / 0.5072 GB, free: 13.84 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004862/0.4667, allocations: 167.3 kB / 0.5073 GB, free: 13.81 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001179/0.4679, allocations: 0.9929 MB / 0.5083 GB, free: 13.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002346/0.4681, allocations: 80.22 kB / 0.5084 GB, free: 13.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4682, allocations: 2.688 kB / 0.5084 GB, free: 13.14 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.987e-05/0.4683, allocations: 39.27 kB / 0.5084 GB, free: 13.14 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.4685, allocations: 12.56 kB / 0.5084 GB, free: 13.14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.4699, allocations: 0.939 MB / 0.5094 GB, free: 12.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.4702, allocations: 0.6875 MB / 0.51 GB, free: 11.91 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.4703, allocations: 54.45 kB / 0.5101 GB, free: 11.9 MB / 394.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4703, allocations: 0 / 0.5101 GB, free: 11.9 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.833/3.303, allocations: 4.443 MB / 0.5144 GB, free: 11.32 MB / 394.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_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_T/Inverse_sh_T.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches