Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 117 kB / 17.78 MB, free: 5.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 194.7 kB / 20.73 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 225.6 MB / 249.1 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 55.91 kB / 365.6 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09029/0.09176, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002366/0.09413, allocations: 1.365 MB / 419.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3364/0.4305, allocations: 149.2 MB / 0.555 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.937e-05/0.4306, allocations: 0 / 0.555 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.767e-05/0.4306, allocations: 3.984 kB / 0.555 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.4317, allocations: 239.7 kB / 0.5552 GB, free: 15.49 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.4328, allocations: 401.5 kB / 0.5556 GB, free: 15.11 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.433, allocations: 55.72 kB / 0.5557 GB, free: 15.05 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.033e-05/0.433, allocations: 0 / 0.5557 GB, free: 15.05 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.694e-05/0.4331, allocations: 23.92 kB / 0.5557 GB, free: 15.03 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.4332, allocations: 31.91 kB / 0.5557 GB, free: 15 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.4332, allocations: 0 / 0.5557 GB, free: 15 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.4345, allocations: 0.6823 MB / 0.5564 GB, free: 14.31 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/0.4345, allocations: 15.91 kB / 0.5564 GB, free: 14.3 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.764e-05/0.4345, allocations: 23.88 kB / 0.5564 GB, free: 14.27 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008726/0.4354, allocations: 499.4 kB / 0.5569 GB, free: 13.79 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.4354, allocations: 0 / 0.5569 GB, free: 13.79 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4354, allocations: 0 / 0.5569 GB, free: 13.79 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.4354, allocations: 0 / 0.5569 GB, free: 13.79 MB / 462.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.0006251/0.4361, allocations: 430.6 kB / 0.5573 GB, free: 13.32 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.4361, allocations: 10.56 kB / 0.5573 GB, free: 13.31 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.577e-05/0.4361, allocations: 38.73 kB / 0.5574 GB, free: 13.27 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.4372, allocations: 96.75 kB / 0.5574 GB, free: 13.17 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.4375, allocations: 228.4 kB / 0.5577 GB, free: 12.91 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.4375, allocations: 0 / 0.5577 GB, free: 12.91 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.4375, allocations: 3.953 kB / 0.5577 GB, free: 12.91 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.4377, allocations: 91.83 kB / 0.5578 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.4377, allocations: 0 / 0.5578 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.4378, allocations: 0 / 0.5578 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.4378, allocations: 8 kB / 0.5578 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.4379, allocations: 47.89 kB / 0.5578 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002856/0.4382, allocations: 207.4 kB / 0.558 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004653/0.4387, allocations: 129.1 kB / 0.5581 GB, free: 12.35 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.4388, allocations: 29.77 kB / 0.5582 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007367/0.4395, allocations: 0.9901 MB / 0.5591 GB, free: 11.11 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.4396, allocations: 34.56 kB / 0.5592 GB, free: 11.06 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.4396, allocations: 0 / 0.5592 GB, free: 11.06 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004818/0.44, allocations: 133.9 kB / 0.5593 GB, free: 10.93 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.4401, allocations: 89.09 kB / 0.5594 GB, free: 10.82 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.4403, allocations: 149.8 kB / 0.5595 GB, free: 10.66 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.4403, allocations: 29.7 kB / 0.5595 GB, free: 10.63 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.058e-05/0.4404, allocations: 80.14 kB / 0.5596 GB, free: 10.55 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.941e-05/0.4404, allocations: 23.84 kB / 0.5596 GB, free: 10.52 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.882e-05/0.4405, allocations: 29.7 kB / 0.5597 GB, free: 10.49 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.4406, allocations: 318.8 kB / 0.56 GB, free: 10.17 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.4407, allocations: 35.97 kB / 0.56 GB, free: 10.13 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.4408, allocations: 59.33 kB / 0.5601 GB, free: 10.06 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.441, allocations: 80.97 kB / 0.5601 GB, free: 9.973 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.441, allocations: 4 kB / 0.5601 GB, free: 9.969 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003326/0.4414, allocations: 121.5 kB / 0.5603 GB, free: 9.844 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.4414, allocations: 4 kB / 0.5603 GB, free: 9.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4414, allocations: 4 kB / 0.5603 GB, free: 9.836 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.4414, allocations: 1.125 kB / 0.5603 GB, free: 9.836 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.4416, allocations: 27.97 kB / 0.5603 GB, free: 9.809 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.4416, allocations: 0.7031 kB / 0.5603 GB, free: 9.809 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.4418, allocations: 15.95 kB / 0.5603 GB, free: 9.793 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.4418, allocations: 7.984 kB / 0.5603 GB, free: 9.785 MB / 462.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 9.602e-05/0.4419, allocations: 117.8 kB / 0.5604 GB, free: 9.66 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.4419, allocations: 0 / 0.5604 GB, free: 9.66 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000588/0.4425, allocations: 251.5 kB / 0.5607 GB, free: 9.414 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.4425, allocations: 7.125 kB / 0.5607 GB, free: 9.41 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4425, allocations: 0 / 0.5607 GB, free: 9.41 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.4425, allocations: 0 / 0.5607 GB, free: 9.41 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.4427, allocations: 218.7 kB / 0.5609 GB, free: 9.148 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.4427, allocations: 0 / 0.5609 GB, free: 9.148 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.4429, allocations: 23.97 kB / 0.5609 GB, free: 9.125 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.4429, allocations: 4 kB / 0.5609 GB, free: 9.121 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.4429, allocations: 0 / 0.5609 GB, free: 9.121 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4429, allocations: 0 / 0.5609 GB, free: 9.121 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4429, allocations: 4 kB / 0.5609 GB, free: 9.117 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000416/0.4433, allocations: 181.8 kB / 0.5611 GB, free: 8.918 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.309e-05/0.4434, allocations: 97.02 kB / 0.5612 GB, free: 8.805 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.616e-05/0.4435, allocations: 3.984 kB / 0.5612 GB, free: 8.801 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.4436, allocations: 4 kB / 0.5612 GB, free: 8.797 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.4437, allocations: 12.05 kB / 0.5612 GB, free: 8.785 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.4437, allocations: 8 kB / 0.5612 GB, free: 8.777 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001632/0.4439, allocations: 130 kB / 0.5613 GB, free: 8.652 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4439, allocations: 0 / 0.5613 GB, free: 8.652 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004724/0.4443, allocations: 135.5 kB / 0.5615 GB, free: 8.52 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 (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.00131/0.4456, allocations: 0.9328 MB / 0.5624 GB, free: 7.57 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002839/0.4459, allocations: 75.88 kB / 0.5624 GB, free: 7.496 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4459, allocations: 4.125 kB / 0.5624 GB, free: 7.492 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.446, allocations: 35.97 kB / 0.5625 GB, free: 7.457 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.4462, allocations: 15.98 kB / 0.5625 GB, free: 7.441 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002573/0.4488, allocations: 1.796 MB / 0.5643 GB, free: 5.543 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.4491, allocations: 0.6931 MB / 0.5649 GB, free: 4.824 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005686/0.4497, allocations: 427.2 kB / 0.5653 GB, free: 4.406 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.4498, allocations: 51.39 kB / 0.5654 GB, free: 4.355 MB / 462.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4498, allocations: 0 / 0.5654 GB, free: 4.355 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.032/0.4818, allocations: 6.639 MB / 0.5719 GB, free: 13.84 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.757/8.239, allocations: 1.172 kB / 0.5719 GB, free: 13.84 MB / 478.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.506938614882529]