Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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_T,fileNamePrefix="Modelica_3_2_3_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006536/0.0006535, allocations: 92.94 kB / 17.3 MB, free: 6 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.0008207/0.0008208, allocations: 181 kB / 18.21 MB, free: 5.414 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.218/1.218, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.0004447/0.0004447, allocations: 20 kB / 281.5 MB, free: 3.32 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0833/0.08376, allocations: 47.57 MB / 329.1 MB, free: 3.676 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001359/0.08515, allocations: 1.081 MB / 330.1 MB, free: 2.582 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.3044/0.3896, allocations: 146.5 MB / 476.7 MB, free: 6.008 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.162e-05/0.3897, allocations: 3.938 kB / 476.7 MB, free: 6.004 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.251e-05/0.3897, allocations: 7.922 kB / 476.7 MB, free: 5.996 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007355/0.3904, allocations: 198.9 kB / 476.9 MB, free: 5.805 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.3917, allocations: 0.5282 MB / 477.4 MB, free: 5.277 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 7.506e-05/0.3917, allocations: 55.72 kB / 477.4 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.592e-05/0.3918, allocations: 4 kB / 477.4 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.246e-05/0.3918, allocations: 23.86 kB / 477.5 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.066e-05/0.3919, allocations: 27.91 kB / 477.5 MB, free: 5.168 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.3919, allocations: 4 kB / 477.5 MB, free: 5.164 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.3931, allocations: 0.7953 MB / 478.3 MB, free: 4.367 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.3931, allocations: 7.922 kB / 478.3 MB, free: 4.359 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.456e-05/0.3932, allocations: 49.62 kB / 478.4 MB, free: 4.305 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008313/0.394, allocations: 0.6159 MB / 479 MB, free: 3.688 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.394, allocations: 0 / 479 MB, free: 3.688 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.394, allocations: 0 / 479 MB, free: 3.688 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.394, allocations: 0 / 479 MB, free: 3.688 MB / 366.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.0005249/0.3946, allocations: 444 kB / 479.4 MB, free: 3.207 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.3946, allocations: 11.97 kB / 479.4 MB, free: 3.195 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.668e-05/0.3947, allocations: 34.75 kB / 479.4 MB, free: 3.152 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009972/0.3957, allocations: 96.7 kB / 479.5 MB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.3959, allocations: 220.2 kB / 479.8 MB, free: 2.805 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.396, allocations: 7.938 kB / 479.8 MB, free: 2.797 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.396, allocations: 0 / 479.8 MB, free: 2.797 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.3962, allocations: 99.31 kB / 479.9 MB, free: 2.688 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.3962, allocations: 0 / 479.9 MB, free: 2.688 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.3962, allocations: 0 / 479.9 MB, free: 2.688 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3962, allocations: 0 / 479.9 MB, free: 2.688 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.3964, allocations: 51.89 kB / 479.9 MB, free: 2.637 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002357/0.3967, allocations: 214.6 kB / 480.1 MB, free: 2.371 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004424/0.3971, allocations: 125.1 kB / 480.2 MB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.3972, allocations: 45.69 kB / 480.3 MB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006174/0.3978, allocations: 0.9823 MB / 481.3 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.3979, allocations: 30.56 kB / 481.3 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.3979, allocations: 4 kB / 481.3 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004411/0.3983, allocations: 133.5 kB / 481.4 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.3984, allocations: 77.11 kB / 481.5 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.3986, allocations: 153.8 kB / 481.7 MB, free: 0.543 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.3986, allocations: 25.7 kB / 481.7 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.132e-05/0.3987, allocations: 84.12 kB / 481.8 MB, free: 436 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.3987, allocations: 27.64 kB / 481.8 MB, free: 408 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.3988, allocations: 21.72 kB / 481.8 MB, free: 380 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3989, allocations: 314.8 kB / 482.1 MB, free: 56 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.453e-05/0.399, allocations: 23.98 kB / 482.1 MB, free: 32 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.3991, allocations: 52.19 kB / 482.2 MB, free: 15.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/0.3994, allocations: 91.27 kB / 482.3 MB, free: 15.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3994, allocations: 0 / 482.3 MB, free: 15.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003045/0.3997, allocations: 125.4 kB / 482.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3997, allocations: 11.92 kB / 482.4 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.3997, allocations: 0 / 482.4 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.3997, allocations: 4 kB / 482.4 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.3999, allocations: 23.97 kB / 482.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.3999, allocations: 8.062 kB / 482.5 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.4, allocations: 4 kB / 482.5 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.4001, allocations: 7.984 kB / 482.5 MB, free: 15.68 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 8.126e-05/0.4002, allocations: 117.7 kB / 482.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.4002, allocations: 7.906 kB / 482.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005577/0.4008, allocations: 239.7 kB / 482.8 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.4008, allocations: 0 / 482.8 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4008, allocations: 4 kB / 482.8 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.4008, allocations: 7.969 kB / 482.8 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.401, allocations: 219.5 kB / 483 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.401, allocations: 0.875 kB / 483.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.4012, allocations: 19.97 kB / 483.1 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.4012, allocations: 4 kB / 483.1 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.4012, allocations: 4 kB / 483.1 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4012, allocations: 480 / 483.1 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4013, allocations: 2.812 kB / 483.1 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004044/0.4017, allocations: 181.7 kB / 483.3 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.919e-05/0.4017, allocations: 93.06 kB / 483.3 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.408e-05/0.4018, allocations: 7.984 kB / 483.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.4019, allocations: 4 kB / 483.4 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.402, allocations: 11.98 kB / 483.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.402, allocations: 4 kB / 483.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001567/0.4022, allocations: 139.2 kB / 483.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4022, allocations: 0 / 483.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004763/0.4027, allocations: 167.9 kB / 483.7 MB, free: 14.38 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001334/0.404, allocations: 0.9986 MB / 484.7 MB, free: 13.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002622/0.4043, allocations: 75.88 kB / 484.7 MB, free: 13.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4043, allocations: 3.938 kB / 484.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.4044, allocations: 35.97 kB / 484.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.4046, allocations: 8 kB / 484.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002542/0.4072, allocations: 1.86 MB / 486.7 MB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.4075, allocations: 0.6887 MB / 487.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005908/0.4081, allocations: 431.1 kB / 487.8 MB, free: 10.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.4083, allocations: 51.38 kB / 487.8 MB, free: 10.08 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4083, allocations: 4 kB / 487.8 MB, free: 10.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03176/0.44, allocations: 7.231 MB / 495.1 MB, free: 2.84 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000224/0.4403, allocations: 250.2 kB / 495.3 MB, free: 2.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.128/2.568, allocations: 0 / 495.3 MB, free: 2.59 MB / 382.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches