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.001139/0.001139, allocations: 111.9 kB / 17.28 MB, free: 6.219 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.001198/0.001198, allocations: 193.3 kB / 18.2 MB, free: 5.301 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.211/1.211, allocations: 205.1 MB / 224 MB, free: 12.45 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.001098/0.001098, allocations: 47.94 kB / 280.2 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08142/0.08253, allocations: 46.62 MB / 326.9 MB, free: 4.711 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002431/0.085, allocations: 1.413 MB / 328.3 MB, free: 3.281 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.3269/0.4119, allocations: 148.2 MB / 476.5 MB, free: 1.742 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.708e-05/0.4121, allocations: 0 / 476.5 MB, free: 1.742 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.633e-05/0.4121, allocations: 3.938 kB / 476.5 MB, free: 1.738 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009659/0.4131, allocations: 218.6 kB / 476.7 MB, free: 1.527 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001552/0.4146, allocations: 0.5726 MB / 477.3 MB, free: 0.957 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.68e-05/0.4148, allocations: 55.72 kB / 477.3 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.093e-05/0.4148, allocations: 0 / 477.3 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.368e-05/0.4149, allocations: 27.86 kB / 477.3 MB, free: 0.875 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.598e-05/0.415, allocations: 27.91 kB / 477.4 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.415, allocations: 11.98 kB / 477.4 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.4162, allocations: 0.8071 MB / 478.2 MB, free: 28 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.895e-05/0.4163, allocations: 22.44 kB / 478.2 MB, free: 8 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.177e-05/0.4163, allocations: 15.98 kB / 478.2 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008377/0.4172, allocations: 0.6158 MB / 478.8 MB, free: 15.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4172, allocations: 0 / 478.8 MB, free: 15.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4172, allocations: 0 / 478.8 MB, free: 15.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.4172, allocations: 0 / 478.8 MB, free: 15.38 MB / 382.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.0006349/0.4179, allocations: 456 kB / 479.3 MB, free: 14.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4179, allocations: 8.031 kB / 479.3 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.263e-05/0.4179, allocations: 34.75 kB / 479.3 MB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.4191, allocations: 97.2 kB / 479.4 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.4194, allocations: 224.2 kB / 479.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.4194, allocations: 7.922 kB / 479.7 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.4194, allocations: 7.938 kB / 479.7 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/0.4197, allocations: 91.33 kB / 479.7 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.4197, allocations: 0 / 479.7 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.4197, allocations: 0 / 479.7 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.4197, allocations: 4 kB / 479.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.4199, allocations: 43.95 kB / 479.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002654/0.4202, allocations: 218.6 kB / 480 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004988/0.4207, allocations: 117.1 kB / 480.1 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.4208, allocations: 37.75 kB / 480.2 MB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006414/0.4215, allocations: 0.9862 MB / 481.1 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.4215, allocations: 39.25 kB / 481.2 MB, free: 12.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.163e-06/0.4215, allocations: 0 / 481.2 MB, free: 12.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005031/0.422, allocations: 137.8 kB / 481.3 MB, free: 12.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.4221, allocations: 77.11 kB / 481.4 MB, free: 12.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.4223, allocations: 153.8 kB / 481.5 MB, free: 12.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.4223, allocations: 30.83 kB / 481.6 MB, free: 12.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.089e-05/0.4224, allocations: 88.14 kB / 481.7 MB, free: 12.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.211e-05/0.4224, allocations: 23.64 kB / 481.7 MB, free: 12.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.905e-05/0.4225, allocations: 33.69 kB / 481.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.4226, allocations: 322.8 kB / 482 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.4227, allocations: 23.98 kB / 482.1 MB, free: 11.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.4229, allocations: 51.41 kB / 482.1 MB, free: 11.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002326/0.4231, allocations: 95.25 kB / 482.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4231, allocations: 0 / 482.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000342/0.4235, allocations: 113.6 kB / 482.3 MB, free: 11.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.4235, allocations: 11.94 kB / 482.3 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.4235, allocations: 6.25 kB / 482.3 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.4235, allocations: 3.938 kB / 482.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.4237, allocations: 27.97 kB / 482.4 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.4237, allocations: 0 / 482.4 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.4239, allocations: 7.984 kB / 482.4 MB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.4239, allocations: 11.98 kB / 482.4 MB, free: 11.34 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.262e-05/0.424, allocations: 113.8 kB / 482.5 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.116e-05/0.4241, allocations: 7.906 kB / 482.5 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005796/0.4247, allocations: 241.7 kB / 482.7 MB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.4247, allocations: 0 / 482.7 MB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.4247, allocations: 4 kB / 482.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.4247, allocations: 3.984 kB / 482.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.4249, allocations: 215.5 kB / 482.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4249, allocations: 4 kB / 483 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.4251, allocations: 23.97 kB / 483 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.4251, allocations: 0 / 483 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.4251, allocations: 7.922 kB / 483 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4251, allocations: 4 kB / 483 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4251, allocations: 0 / 483 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004134/0.4256, allocations: 177.8 kB / 483.2 MB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.709e-05/0.4256, allocations: 93.03 kB / 483.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.027e-05/0.4257, allocations: 4 kB / 483.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.4259, allocations: 3.984 kB / 483.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.4259, allocations: 8 kB / 483.3 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.4259, allocations: 7.984 kB / 483.3 MB, free: 10.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001664/0.4261, allocations: 132.2 kB / 483.4 MB, free: 10.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.743e-06/0.4261, allocations: 4.062 kB / 483.4 MB, free: 10.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005088/0.4266, allocations: 167.9 kB / 483.6 MB, free: 10.04 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.001325/0.428, allocations: 0.9969 MB / 484.6 MB, free: 9.016 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002691/0.4283, allocations: 79.88 kB / 484.6 MB, free: 8.938 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4283, allocations: 0 / 484.6 MB, free: 8.938 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.4284, allocations: 44.09 kB / 484.7 MB, free: 8.895 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.4286, allocations: 10.03 kB / 484.7 MB, free: 8.887 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.4311, allocations: 1.827 MB / 486.5 MB, free: 6.961 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.4314, allocations: 0.6924 MB / 487.2 MB, free: 6.242 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005812/0.432, allocations: 423.2 kB / 487.6 MB, free: 5.828 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002013/0.4322, allocations: 55.38 kB / 487.7 MB, free: 5.773 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4322, allocations: 0 / 487.7 MB, free: 5.773 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01915/0.4513, allocations: 7.484 MB / 495.2 MB, free: 14.27 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/0.4515, allocations: 254.8 kB / 495.4 MB, free: 14.01 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.963/2.414, allocations: 0 / 495.4 MB, free: 14.01 MB / 398.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