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.001224/0.001224, allocations: 103.2 kB / 21.96 MB, free: 5.215 MB / 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.001321/0.001321, allocations: 214.5 kB / 25.26 MB, free: 3.129 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.303/1.303, allocations: 207.7 MB / 236.1 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 179] 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="cs",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="cs",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.001622/0.001622, allocations: 54.58 kB / 348 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2306, allocations: 49.17 MB / 397.1 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002156/0.2327, allocations: 1.328 MB / 398.5 MB, free: 7.965 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1487/0.3814, allocations: 129.1 MB / 0.5152 GB, free: 232 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.551e-05/0.3815, allocations: 0 / 0.5152 GB, free: 232 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.286e-05/0.3815, allocations: 3.938 kB / 0.5152 GB, free: 228 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009139/0.3824, allocations: 246.6 kB / 0.5154 GB, free: 15.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001577/0.384, allocations: 0.6402 MB / 0.5161 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.607e-05/0.3841, allocations: 55.56 kB / 0.5161 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.425e-05/0.3841, allocations: 4 kB / 0.5161 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.147e-05/0.3842, allocations: 23.91 kB / 0.5161 GB, free: 15.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.77e-05/0.3842, allocations: 31.91 kB / 0.5162 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.988e-06/0.3843, allocations: 0 / 0.5162 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/0.3855, allocations: 0.7914 MB / 0.5169 GB, free: 14.44 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.534e-05/0.3855, allocations: 4 kB / 0.5169 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.336e-05/0.3856, allocations: 27.91 kB / 0.517 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008401/0.3864, allocations: 0.5766 MB / 0.5175 GB, free: 13.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3864, allocations: 0 / 0.5175 GB, free: 13.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3864, allocations: 0 / 0.5175 GB, free: 13.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.3864, allocations: 0 / 0.5175 GB, free: 13.83 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.0005452/0.387, allocations: 385.1 kB / 0.5179 GB, free: 13.42 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.387, allocations: 15.98 kB / 0.5179 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.082e-05/0.387, allocations: 192 / 0.5179 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.976e-05/0.387, allocations: 38.75 kB / 0.518 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.3881, allocations: 96.75 kB / 0.518 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.3884, allocations: 158 kB / 0.5182 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.3884, allocations: 4 kB / 0.5182 GB, free: 13.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.3884, allocations: 11.92 kB / 0.5182 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.3886, allocations: 99.25 kB / 0.5183 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.3886, allocations: 4 kB / 0.5183 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.3887, allocations: 4 kB / 0.5183 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.3887, allocations: 0 / 0.5183 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.3888, allocations: 43.95 kB / 0.5184 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002383/0.3891, allocations: 174 kB / 0.5185 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004959/0.3896, allocations: 121.1 kB / 0.5186 GB, free: 12.56 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.3897, allocations: 37.69 kB / 0.5187 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002464/0.3899, allocations: 92.58 kB / 0.5188 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.39, allocations: 34.56 kB / 0.5188 GB, free: 12.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.39, allocations: 0 / 0.5188 GB, free: 12.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005004/0.3905, allocations: 129.5 kB / 0.5189 GB, free: 12.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.3905, allocations: 85.05 kB / 0.519 GB, free: 12.15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.3907, allocations: 149.8 kB / 0.5191 GB, free: 11.99 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.3908, allocations: 33.7 kB / 0.5192 GB, free: 11.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.095e-05/0.3908, allocations: 84.14 kB / 0.5193 GB, free: 11.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.3909, allocations: 27.75 kB / 0.5193 GB, free: 11.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.411e-05/0.3909, allocations: 41.62 kB / 0.5193 GB, free: 11.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3911, allocations: 318.8 kB / 0.5196 GB, free: 11.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.3912, allocations: 27.98 kB / 0.5196 GB, free: 11.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.3913, allocations: 51.41 kB / 0.5197 GB, free: 11.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.3915, allocations: 83.33 kB / 0.5198 GB, free: 11.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3915, allocations: 0 / 0.5198 GB, free: 11.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003815/0.3919, allocations: 118 kB / 0.5199 GB, free: 11.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.3919, allocations: 8 kB / 0.5199 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3919, allocations: 0 / 0.5199 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.392, allocations: 7.969 kB / 0.5199 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.3921, allocations: 31.91 kB / 0.5199 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3921, allocations: 0 / 0.5199 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.3923, allocations: 7.953 kB / 0.5199 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.3923, allocations: 7.984 kB / 0.52 GB, free: 11.11 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 9.556e-05/0.3924, allocations: 121.8 kB / 0.5201 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.362e-05/0.3925, allocations: 4 kB / 0.5201 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006157/0.3931, allocations: 253.2 kB / 0.5203 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.076e-06/0.3931, allocations: 3.984 kB / 0.5203 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3931, allocations: 4 kB / 0.5203 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3931, allocations: 4 kB / 0.5203 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.3933, allocations: 186 kB / 0.5205 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3933, allocations: 0 / 0.5205 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.3935, allocations: 19.97 kB / 0.5205 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3935, allocations: 0 / 0.5205 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.3935, allocations: 7.938 kB / 0.5205 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.3935, allocations: 64 / 0.5205 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.3935, allocations: 4 kB / 0.5205 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004246/0.3939, allocations: 181.8 kB / 0.5207 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-05/0.394, allocations: 20.06 kB / 0.5207 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.95e-05/0.394, allocations: 4 kB / 0.5207 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.3942, allocations: 4 kB / 0.5207 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.3942, allocations: 7.984 kB / 0.5207 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.3943, allocations: 4 kB / 0.5207 GB, free: 10.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001678/0.3944, allocations: 131.2 kB / 0.5209 GB, free: 10.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3944, allocations: 3.938 kB / 0.5209 GB, free: 10.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000548/0.395, allocations: 171.5 kB / 0.521 GB, free: 9.91 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.001509/0.3965, allocations: 0.9963 MB / 0.522 GB, free: 8.883 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002987/0.3968, allocations: 71.88 kB / 0.5221 GB, free: 8.812 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3968, allocations: 4 kB / 0.5221 GB, free: 8.809 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.3969, allocations: 40.05 kB / 0.5221 GB, free: 8.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.3971, allocations: 16.78 kB / 0.5221 GB, free: 8.754 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/0.3999, allocations: 1.819 MB / 0.5239 GB, free: 6.828 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.747e-05/0.3999, allocations: 79.19 kB / 0.524 GB, free: 6.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000547/0.4005, allocations: 427.2 kB / 0.5244 GB, free: 6.312 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.4006, allocations: 55.31 kB / 0.5244 GB, free: 6.258 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4006, allocations: 3.938 kB / 0.5245 GB, free: 6.254 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03098/0.4316, allocations: 8.048 MB / 0.5323 GB, free: 14.15 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.99, allocations: 4 kB / 0.5323 GB, free: 14.15 MB / 462.1 MB " [Timeout remaining time 649] (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 --stepSize=0.00019992 --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) [Timeout 52.5] 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","/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: 13.295300745987333]