Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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.001333/0.001333, 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.001629/0.001629, allocations: 210.9 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.365/1.365, 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_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",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.002737/0.002737, allocations: 62.52 kB / 347.2 MB, free: 9.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2853, allocations: 49.16 MB / 396.3 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002152/0.2875, allocations: 1.346 MB / 397.7 MB, free: 8.168 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1576/0.4451, allocations: 129.5 MB / 0.5149 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.879e-05/0.4452, allocations: 0 / 0.5149 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.737e-05/0.4452, allocations: 7.922 kB / 0.5149 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001211/0.4464, allocations: 354.5 kB / 0.5152 GB, free: 15.58 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.4484, allocations: 0.8278 MB / 0.516 GB, free: 14.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.4486, allocations: 75.7 kB / 0.5161 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.657e-05/0.4486, allocations: 0 / 0.5161 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.104e-05/0.4487, allocations: 35.84 kB / 0.5161 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.26e-05/0.4487, allocations: 31.91 kB / 0.5162 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.4488, allocations: 4 kB / 0.5162 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002269/0.451, allocations: 1.178 MB / 0.5173 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.142e-05/0.4511, allocations: 15.92 kB / 0.5173 GB, free: 13.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.144e-05/0.4511, allocations: 23.92 kB / 0.5174 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001485/0.4526, allocations: 0.8221 MB / 0.5182 GB, free: 12.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4526, allocations: 8 kB / 0.5182 GB, free: 12.56 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4526, allocations: 0 / 0.5182 GB, free: 12.56 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.4526, allocations: 0 / 0.5182 GB, free: 12.56 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.0006798/0.4533, allocations: 405 kB / 0.5186 GB, free: 12.13 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.4533, allocations: 11.98 kB / 0.5186 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.464e-05/0.4534, allocations: 34.75 kB / 0.5186 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002994/0.4537, allocations: 32.89 kB / 0.5186 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.4538, allocations: 142.4 kB / 0.5188 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.4539, allocations: 12.11 kB / 0.5188 GB, free: 11.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.4539, allocations: 7.938 kB / 0.5188 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.454, allocations: 71.39 kB / 0.5189 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.454, allocations: 0 / 0.5189 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.4541, allocations: 4 kB / 0.5189 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.4541, allocations: 0 / 0.5189 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.4542, allocations: 39.97 kB / 0.5189 GB, free: 11.74 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002086/0.4544, allocations: 169.6 kB / 0.5191 GB, free: 11.53 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003107/0.4547, allocations: 117.1 kB / 0.5192 GB, free: 11.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.496e-05/0.4548, allocations: 33.77 kB / 0.5192 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005042/0.4553, allocations: 67.92 kB / 0.5193 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.4553, allocations: 38.44 kB / 0.5193 GB, free: 11.24 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.4553, allocations: 0 / 0.5193 GB, free: 11.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003781/0.4557, allocations: 121.5 kB / 0.5194 GB, free: 11.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.4557, allocations: 81.11 kB / 0.5195 GB, free: 11.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.4559, allocations: 141.8 kB / 0.5196 GB, free: 10.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.4559, allocations: 25.7 kB / 0.5197 GB, free: 10.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.208e-05/0.4559, allocations: 88.12 kB / 0.5197 GB, free: 10.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.696e-05/0.456, allocations: 27.78 kB / 0.5198 GB, free: 10.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.456, allocations: 21.7 kB / 0.5198 GB, free: 10.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.4562, allocations: 318.8 kB / 0.5201 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.516e-05/0.4562, allocations: 19.98 kB / 0.5201 GB, free: 10.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.146e-05/0.4563, allocations: 55.41 kB / 0.5202 GB, free: 10.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.4565, allocations: 83.34 kB / 0.5202 GB, free: 10.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.4565, allocations: 3.938 kB / 0.5202 GB, free: 10.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002554/0.4568, allocations: 109.5 kB / 0.5203 GB, free: 10.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.4568, allocations: 4 kB / 0.5204 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.4568, allocations: 3.938 kB / 0.5204 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.4568, allocations: 4.469 kB / 0.5204 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.219e-05/0.4569, allocations: 16.05 kB / 0.5204 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.4569, allocations: 4.156 kB / 0.5204 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.837e-05/0.4569, allocations: 7.938 kB / 0.5204 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.4569, allocations: 7.984 kB / 0.5204 GB, free: 10.03 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.07e-05/0.457, allocations: 117.8 kB / 0.5205 GB, free: 9.906 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.171e-05/0.4571, allocations: 11.94 kB / 0.5205 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.4573, allocations: 117.9 kB / 0.5206 GB, free: 9.773 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4573, allocations: 0 / 0.5206 GB, free: 9.773 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.4574, allocations: 0 / 0.5206 GB, free: 9.773 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.4574, allocations: 0 / 0.5206 GB, free: 9.773 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.4575, allocations: 164.6 kB / 0.5208 GB, free: 9.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4575, allocations: 0 / 0.5208 GB, free: 9.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.82e-05/0.4576, allocations: 11.94 kB / 0.5208 GB, free: 9.559 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.4576, allocations: 0 / 0.5208 GB, free: 9.559 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.4576, allocations: 4 kB / 0.5208 GB, free: 9.555 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.4576, allocations: 0 / 0.5208 GB, free: 9.555 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.4576, allocations: 3.984 kB / 0.5208 GB, free: 9.551 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003673/0.458, allocations: 161.9 kB / 0.521 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/0.458, allocations: 15.97 kB / 0.521 GB, free: 9.355 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.458, allocations: 64 / 0.521 GB, free: 9.355 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.665e-05/0.4581, allocations: 12.06 kB / 0.521 GB, free: 9.344 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.4581, allocations: 7.984 kB / 0.521 GB, free: 9.336 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.4581, allocations: 3.938 kB / 0.521 GB, free: 9.332 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.885e-05/0.4582, allocations: 115.3 kB / 0.5211 GB, free: 9.219 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4582, allocations: 3.938 kB / 0.5211 GB, free: 9.215 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006643/0.4589, allocations: 199.3 kB / 0.5213 GB, free: 9.02 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 (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.001839/0.4607, allocations: 1.12 MB / 0.5224 GB, free: 7.867 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.4609, allocations: 67.89 kB / 0.5225 GB, free: 7.801 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4609, allocations: 0 / 0.5225 GB, free: 7.801 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.855e-05/0.461, allocations: 35.92 kB / 0.5225 GB, free: 7.766 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.4613, allocations: 15.98 kB / 0.5225 GB, free: 7.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/0.4635, allocations: 1.762 MB / 0.5242 GB, free: 5.879 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.625e-05/0.4636, allocations: 79.27 kB / 0.5243 GB, free: 5.781 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.691e-05/0.4636, allocations: 20 kB / 0.5243 GB, free: 5.762 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.365e-05/0.4637, allocations: 27.42 kB / 0.5244 GB, free: 5.734 MB / 446.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4637, allocations: 0 / 0.5244 GB, free: 5.734 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04198/0.5057, allocations: 8.43 MB / 0.5326 GB, free: 13.25 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.5, allocations: 3.953 kB / 0.5326 GB, free: 13.24 MB / 462.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_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_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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.848772713914514]