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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 214.8 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 55.92 kB / 347.2 MB, free: 9.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2648, allocations: 49.16 MB / 396.3 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.00234/0.2672, allocations: 1.334 MB / 397.7 MB, free: 7.973 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1716/0.4387, allocations: 129.2 MB / 0.5145 GB, free: 136 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.582e-05/0.4388, allocations: 0 / 0.5145 GB, free: 136 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.719e-05/0.4388, allocations: 7.922 kB / 0.5145 GB, free: 128 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001214/0.4401, allocations: 234.5 kB / 0.5147 GB, free: 15.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001896/0.4419, allocations: 0.648 MB / 0.5154 GB, free: 15.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.4421, allocations: 63.59 kB / 0.5154 GB, free: 15.19 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.038e-05/0.4421, allocations: 4 kB / 0.5154 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.968e-05/0.4422, allocations: 19.92 kB / 0.5155 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.614e-05/0.4423, allocations: 31.89 kB / 0.5155 GB, free: 15.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.4423, allocations: 4 kB / 0.5155 GB, free: 15.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.4438, allocations: 0.7577 MB / 0.5162 GB, free: 14.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.4438, allocations: 7.984 kB / 0.5162 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.607e-05/0.4438, allocations: 27.86 kB / 0.5163 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009132/0.4447, allocations: 0.5728 MB / 0.5168 GB, free: 13.76 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.4447, allocations: 0 / 0.5168 GB, free: 13.76 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.517e-06/0.4447, allocations: 4 kB / 0.5168 GB, free: 13.76 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.4447, allocations: 0 / 0.5168 GB, free: 13.76 MB / 446.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.0006054/0.4453, allocations: 385.1 kB / 0.5172 GB, free: 13.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.4454, allocations: 11.98 kB / 0.5172 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.003e-05/0.4454, allocations: 38.73 kB / 0.5172 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/0.4465, allocations: 96.75 kB / 0.5173 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.4467, allocations: 166.2 kB / 0.5175 GB, free: 13.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.4468, allocations: 0 / 0.5175 GB, free: 13.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.4468, allocations: 7.984 kB / 0.5175 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.447, allocations: 87.33 kB / 0.5176 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.447, allocations: 11.88 kB / 0.5176 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.447, allocations: 0 / 0.5176 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.447, allocations: 0 / 0.5176 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.4472, allocations: 43.95 kB / 0.5176 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002586/0.4475, allocations: 182 kB / 0.5178 GB, free: 12.63 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004921/0.448, allocations: 125.1 kB / 0.5179 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.4481, allocations: 33.75 kB / 0.518 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000259/0.4483, allocations: 96.58 kB / 0.5181 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.045e-05/0.4484, allocations: 34.56 kB / 0.5181 GB, free: 12.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.4484, allocations: 0 / 0.5181 GB, free: 12.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004849/0.4489, allocations: 129.5 kB / 0.5182 GB, free: 12.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/0.449, allocations: 81.11 kB / 0.5183 GB, free: 12.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.4492, allocations: 157.8 kB / 0.5184 GB, free: 11.92 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.4492, allocations: 25.7 kB / 0.5185 GB, free: 11.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.142e-05/0.4493, allocations: 84.14 kB / 0.5185 GB, free: 11.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.758e-05/0.4493, allocations: 35.67 kB / 0.5186 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.522e-05/0.4494, allocations: 29.69 kB / 0.5186 GB, free: 11.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.4495, allocations: 322.8 kB / 0.5189 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.4496, allocations: 23.97 kB / 0.5189 GB, free: 11.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.4497, allocations: 55.41 kB / 0.519 GB, free: 11.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000228/0.45, allocations: 83.34 kB / 0.5191 GB, free: 11.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.45, allocations: 0 / 0.5191 GB, free: 11.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003491/0.4503, allocations: 118 kB / 0.5192 GB, free: 11.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.4503, allocations: 4 kB / 0.5192 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.4503, allocations: 0 / 0.5192 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.4504, allocations: 12.05 kB / 0.5192 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.4505, allocations: 23.97 kB / 0.5192 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.4505, allocations: 7.938 kB / 0.5192 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.4507, allocations: 11.94 kB / 0.5192 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.4507, allocations: 8 kB / 0.5192 GB, free: 11.04 MB / 446.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 0.0001003/0.4508, allocations: 117.8 kB / 0.5194 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.4508, allocations: 4 kB / 0.5194 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006009/0.4514, allocations: 245.3 kB / 0.5196 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.4514, allocations: 4 kB / 0.5196 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.4514, allocations: 0 / 0.5196 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.4514, allocations: 0 / 0.5196 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/0.4517, allocations: 186 kB / 0.5198 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.4517, allocations: 0 / 0.5198 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.4518, allocations: 23.91 kB / 0.5198 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.4518, allocations: 8 kB / 0.5198 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.4519, allocations: 7.984 kB / 0.5198 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.4519, allocations: 0 / 0.5198 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4519, allocations: 7.938 kB / 0.5198 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004406/0.4523, allocations: 181.8 kB / 0.52 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.435e-05/0.4524, allocations: 8.016 kB / 0.52 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.4524, allocations: 8.062 kB / 0.52 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.4525, allocations: 11.92 kB / 0.52 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/0.4526, allocations: 7.984 kB / 0.52 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.4526, allocations: 4.062 kB / 0.52 GB, free: 10.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001686/0.4528, allocations: 135.8 kB / 0.5202 GB, free: 10.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4528, allocations: 0 / 0.5202 GB, free: 10.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005453/0.4533, allocations: 175.5 kB / 0.5203 GB, free: 9.84 MB / 446.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.00154/0.4549, allocations: 0.9912 MB / 0.5213 GB, free: 8.816 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002893/0.4552, allocations: 75.88 kB / 0.5214 GB, free: 8.742 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4552, allocations: 0 / 0.5214 GB, free: 8.742 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.4553, allocations: 39.91 kB / 0.5214 GB, free: 8.703 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.4555, allocations: 11.94 kB / 0.5214 GB, free: 8.691 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002883/0.4584, allocations: 1.823 MB / 0.5232 GB, free: 6.762 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.519e-05/0.4584, allocations: 79.2 kB / 0.5233 GB, free: 6.664 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005877/0.459, allocations: 427.2 kB / 0.5237 GB, free: 6.246 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.4592, allocations: 47.39 kB / 0.5237 GB, free: 6.199 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4592, allocations: 0 / 0.5237 GB, free: 6.199 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03865/0.4978, allocations: 8.431 MB / 0.532 GB, free: 13.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.73, allocations: 4.016 kB / 0.532 GB, free: 13.7 MB / 462.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.csv","/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 14.326810227707028]