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.001698/0.001698, allocations: 103.6 kB / 21.18 MB, free: 332 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.002176/0.002176, allocations: 213 kB / 24.47 MB, free: 3.547 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.352/1.352, allocations: 207.7 MB / 235.3 MB, free: 9.793 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.001726/0.001726, allocations: 62.86 kB / 347.2 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2227, allocations: 49.15 MB / 396.3 MB, free: 9.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002573/0.2253, allocations: 1.335 MB / 397.7 MB, free: 8.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.158/0.3833, allocations: 129.2 MB / 0.5145 GB, free: 280 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.491e-05/0.3833, allocations: 4 kB / 0.5145 GB, free: 276 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.288e-05/0.3833, allocations: 7.922 kB / 0.5145 GB, free: 268 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008979/0.3842, allocations: 234.9 kB / 0.5147 GB, free: 32 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.3859, allocations: 0.6445 MB / 0.5154 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.386, allocations: 55.66 kB / 0.5154 GB, free: 15.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.956e-05/0.3861, allocations: 11.98 kB / 0.5154 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.684e-05/0.3861, allocations: 19.94 kB / 0.5155 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.766e-05/0.3862, allocations: 27.91 kB / 0.5155 GB, free: 15.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.3862, allocations: 4 kB / 0.5155 GB, free: 15.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.3877, allocations: 0.7615 MB / 0.5162 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/0.3877, allocations: 7.984 kB / 0.5162 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.385e-05/0.3877, allocations: 15.94 kB / 0.5163 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009221/0.3886, allocations: 0.5844 MB / 0.5168 GB, free: 13.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3886, allocations: 0 / 0.5168 GB, free: 13.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3886, allocations: 0 / 0.5168 GB, free: 13.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.3886, allocations: 4 kB / 0.5168 GB, free: 13.89 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.0005634/0.3892, allocations: 385.1 kB / 0.5172 GB, free: 13.49 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.3892, allocations: 11.98 kB / 0.5172 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.186e-05/0.3893, allocations: 34.75 kB / 0.5172 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.3903, allocations: 96.75 kB / 0.5173 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.3905, allocations: 162.2 kB / 0.5175 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.3906, allocations: 12 kB / 0.5175 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.3906, allocations: 0 / 0.5175 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.3908, allocations: 99.25 kB / 0.5176 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.3908, allocations: 0 / 0.5176 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.3908, allocations: 0 / 0.5176 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3908, allocations: 4 kB / 0.5176 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.391, allocations: 39.95 kB / 0.5176 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002446/0.3913, allocations: 174 kB / 0.5178 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004678/0.3917, allocations: 129.1 kB / 0.5179 GB, free: 12.63 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.3918, allocations: 33.7 kB / 0.518 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002501/0.3921, allocations: 88.58 kB / 0.518 GB, free: 12.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.3921, allocations: 38.56 kB / 0.5181 GB, free: 12.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.3921, allocations: 0 / 0.5181 GB, free: 12.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004781/0.3926, allocations: 125.5 kB / 0.5182 GB, free: 12.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/0.3927, allocations: 89.03 kB / 0.5183 GB, free: 12.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.3929, allocations: 157.8 kB / 0.5184 GB, free: 12.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.3929, allocations: 29.7 kB / 0.5185 GB, free: 12.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.453e-05/0.3929, allocations: 88.12 kB / 0.5185 GB, free: 11.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.45e-05/0.393, allocations: 31.73 kB / 0.5186 GB, free: 11.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.824e-05/0.393, allocations: 33.64 kB / 0.5186 GB, free: 11.87 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3932, allocations: 322.8 kB / 0.5189 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.3933, allocations: 27.97 kB / 0.5189 GB, free: 11.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.3934, allocations: 51.41 kB / 0.519 GB, free: 11.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.3936, allocations: 83.34 kB / 0.5191 GB, free: 11.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3936, allocations: 0 / 0.5191 GB, free: 11.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003487/0.394, allocations: 118 kB / 0.5192 GB, free: 11.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.394, allocations: 8 kB / 0.5192 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.394, allocations: 0 / 0.5192 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.394, allocations: 0 / 0.5192 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.3942, allocations: 31.91 kB / 0.5192 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.3942, allocations: 0 / 0.5192 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.3943, allocations: 12.06 kB / 0.5192 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-05/0.3944, allocations: 15.97 kB / 0.5192 GB, free: 11.17 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 8.943e-05/0.3945, allocations: 113.8 kB / 0.5194 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/0.3945, allocations: 4 kB / 0.5194 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005942/0.3951, allocations: 253.3 kB / 0.5196 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.3951, allocations: 0 / 0.5196 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3951, allocations: 4.062 kB / 0.5196 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.3951, allocations: 7.938 kB / 0.5196 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001954/0.3953, allocations: 182 kB / 0.5198 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3953, allocations: 0 / 0.5198 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.3955, allocations: 19.97 kB / 0.5198 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.3955, allocations: 0 / 0.5198 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.3955, allocations: 7.984 kB / 0.5198 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.3955, allocations: 0 / 0.5198 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3955, allocations: 0 / 0.5198 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004365/0.3959, allocations: 181.8 kB / 0.52 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.491e-05/0.396, allocations: 16 kB / 0.52 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.597e-05/0.396, allocations: 4 kB / 0.52 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.3962, allocations: 8 kB / 0.52 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.3962, allocations: 3.984 kB / 0.52 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.3962, allocations: 11.92 kB / 0.52 GB, free: 10.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001697/0.3964, allocations: 135.2 kB / 0.5202 GB, free: 10.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3964, allocations: 3.938 kB / 0.5202 GB, free: 10.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005379/0.3969, allocations: 175.5 kB / 0.5203 GB, free: 9.98 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.001478/0.3984, allocations: 0.9873 MB / 0.5213 GB, free: 8.961 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000292/0.3987, allocations: 75.88 kB / 0.5214 GB, free: 8.887 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.3987, allocations: 4 kB / 0.5214 GB, free: 8.883 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.3988, allocations: 39.91 kB / 0.5214 GB, free: 8.844 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.399, allocations: 11.94 kB / 0.5214 GB, free: 8.832 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002711/0.4018, allocations: 1.812 MB / 0.5232 GB, free: 6.914 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.574e-05/0.4018, allocations: 79.19 kB / 0.5233 GB, free: 6.816 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005695/0.4024, allocations: 439.1 kB / 0.5237 GB, free: 6.387 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.4025, allocations: 43.39 kB / 0.5237 GB, free: 6.344 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4025, allocations: 3.938 kB / 0.5237 GB, free: 6.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03733/0.4399, allocations: 8.423 MB / 0.532 GB, free: 13.85 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.17, allocations: 7.953 kB / 0.532 GB, free: 13.84 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.476973312906921]