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.001989/0.001989, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.002543/0.002543, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.451/1.451, allocations: 207.6 MB / 235.3 MB, free: 9.996 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.001887/0.001887, allocations: 51.94 kB / 347.2 MB, free: 10.14 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2618, allocations: 49.17 MB / 396.3 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002147/0.264, allocations: 1.368 MB / 397.7 MB, free: 8.027 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1792/0.4431, allocations: 151.3 MB / 0.5361 GB, free: 10.16 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.628e-05/0.4432, allocations: 4 kB / 0.5361 GB, free: 10.16 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.521e-05/0.4432, allocations: 7.922 kB / 0.5361 GB, free: 10.15 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00141/0.4447, allocations: 370.2 kB / 0.5365 GB, free: 9.793 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002374/0.447, allocations: 0.8133 MB / 0.5373 GB, free: 8.98 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.4472, allocations: 75.62 kB / 0.5373 GB, free: 8.906 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.789e-05/0.4472, allocations: 4 kB / 0.5373 GB, free: 8.902 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.103e-05/0.4473, allocations: 39.84 kB / 0.5374 GB, free: 8.863 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.175e-05/0.4474, allocations: 35.84 kB / 0.5374 GB, free: 8.828 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.4474, allocations: 0 / 0.5374 GB, free: 8.828 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002894/0.4503, allocations: 1.486 MB / 0.5389 GB, free: 7.34 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.897e-05/0.4503, allocations: 11.98 kB / 0.5389 GB, free: 7.328 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.686e-05/0.4504, allocations: 27.86 kB / 0.5389 GB, free: 7.301 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001771/0.4522, allocations: 0.8611 MB / 0.5397 GB, free: 6.438 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.4522, allocations: 0 / 0.5397 GB, free: 6.438 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.4522, allocations: 0 / 0.5397 GB, free: 6.438 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.4522, allocations: 3.938 kB / 0.5397 GB, free: 6.434 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.0008124/0.453, allocations: 412.9 kB / 0.5401 GB, free: 6 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.453, allocations: 11.98 kB / 0.5401 GB, free: 5.988 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.583e-05/0.4531, allocations: 34.73 kB / 0.5402 GB, free: 5.945 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003165/0.4534, allocations: 36.91 kB / 0.5402 GB, free: 5.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.4536, allocations: 146.4 kB / 0.5404 GB, free: 5.742 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.4536, allocations: 8.125 kB / 0.5404 GB, free: 5.734 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.172e-05/0.4536, allocations: 8 kB / 0.5404 GB, free: 5.727 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.4538, allocations: 75.27 kB / 0.5404 GB, free: 5.641 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.4538, allocations: 0 / 0.5404 GB, free: 5.641 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-06/0.4538, allocations: 0 / 0.5404 GB, free: 5.641 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.4538, allocations: 0 / 0.5404 GB, free: 5.641 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.4539, allocations: 43.97 kB / 0.5405 GB, free: 5.598 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002188/0.4541, allocations: 169.6 kB / 0.5406 GB, free: 5.387 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000321/0.4544, allocations: 113 kB / 0.5408 GB, free: 5.258 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.898e-05/0.4545, allocations: 37.77 kB / 0.5408 GB, free: 5.215 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005137/0.455, allocations: 63.91 kB / 0.5409 GB, free: 5.152 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.4551, allocations: 34.56 kB / 0.5409 GB, free: 5.109 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.4551, allocations: 0 / 0.5409 GB, free: 5.109 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003566/0.4554, allocations: 121.6 kB / 0.541 GB, free: 4.984 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.4555, allocations: 77.11 kB / 0.5411 GB, free: 4.891 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.4556, allocations: 145.8 kB / 0.5412 GB, free: 4.738 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.4556, allocations: 25.7 kB / 0.5412 GB, free: 4.707 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.816e-05/0.4557, allocations: 92.06 kB / 0.5413 GB, free: 4.613 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.4557, allocations: 23.75 kB / 0.5413 GB, free: 4.59 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.4558, allocations: 29.7 kB / 0.5414 GB, free: 4.555 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.4559, allocations: 314.8 kB / 0.5417 GB, free: 4.238 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.088e-05/0.456, allocations: 23.98 kB / 0.5417 GB, free: 4.215 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.556e-05/0.4561, allocations: 51.44 kB / 0.5418 GB, free: 4.152 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.4562, allocations: 79.34 kB / 0.5418 GB, free: 4.062 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.4562, allocations: 7.938 kB / 0.5418 GB, free: 4.055 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002461/0.4565, allocations: 105.5 kB / 0.5419 GB, free: 3.945 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.4565, allocations: 8 kB / 0.5419 GB, free: 3.938 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.4565, allocations: 0 / 0.5419 GB, free: 3.938 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.4565, allocations: 0 / 0.5419 GB, free: 3.938 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.567e-05/0.4566, allocations: 23.98 kB / 0.542 GB, free: 3.914 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.4566, allocations: 3.938 kB / 0.542 GB, free: 3.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.74e-05/0.4567, allocations: 4 kB / 0.542 GB, free: 3.906 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.4567, allocations: 4.062 kB / 0.542 GB, free: 3.902 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.539e-05/0.4568, allocations: 117.8 kB / 0.5421 GB, free: 3.777 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.596e-05/0.4568, allocations: 11.94 kB / 0.5421 GB, free: 3.766 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000252/0.4571, allocations: 118.4 kB / 0.5422 GB, free: 3.645 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.4571, allocations: 0 / 0.5422 GB, free: 3.645 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4571, allocations: 0 / 0.5422 GB, free: 3.645 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4571, allocations: 4 kB / 0.5422 GB, free: 3.641 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/0.4573, allocations: 156.6 kB / 0.5424 GB, free: 3.445 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4573, allocations: 7.984 kB / 0.5424 GB, free: 3.438 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.244e-05/0.4574, allocations: 16.05 kB / 0.5424 GB, free: 3.422 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.4574, allocations: 3.984 kB / 0.5424 GB, free: 3.418 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.4574, allocations: 4 kB / 0.5424 GB, free: 3.414 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4574, allocations: 0 / 0.5424 GB, free: 3.414 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4574, allocations: 4 kB / 0.5424 GB, free: 3.41 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004051/0.4578, allocations: 173.8 kB / 0.5426 GB, free: 3.219 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.141e-05/0.4578, allocations: 11.97 kB / 0.5426 GB, free: 3.207 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.4579, allocations: 0 / 0.5426 GB, free: 3.207 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.432e-05/0.4579, allocations: 8 kB / 0.5426 GB, free: 3.199 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.4579, allocations: 7.984 kB / 0.5426 GB, free: 3.191 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.4579, allocations: 0 / 0.5426 GB, free: 3.191 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001473/0.4581, allocations: 115.2 kB / 0.5427 GB, free: 3.078 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4581, allocations: 0 / 0.5427 GB, free: 3.078 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006558/0.4587, allocations: 203.3 kB / 0.5429 GB, free: 2.879 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 (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.001924/0.4607, allocations: 1.124 MB / 0.544 GB, free: 1.723 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002182/0.4609, allocations: 67.89 kB / 0.5441 GB, free: 1.656 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4609, allocations: 4.125 kB / 0.5441 GB, free: 1.652 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.366e-05/0.461, allocations: 27.92 kB / 0.5441 GB, free: 1.625 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.4612, allocations: 19.98 kB / 0.5441 GB, free: 1.605 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002616/0.4638, allocations: 1.762 MB / 0.5458 GB, free: 15.73 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.4642, allocations: 0.6924 MB / 0.5465 GB, free: 15.02 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 6.519e-05/0.4642, allocations: 19.94 kB / 0.5465 GB, free: 15 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.801e-05/0.4643, allocations: 19.44 kB / 0.5465 GB, free: 14.98 MB / 478.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4643, allocations: 0 / 0.5465 GB, free: 14.98 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0547/0.519, allocations: 7.908 MB / 0.5543 GB, free: 7.02 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.37, allocations: 4 kB / 0.5543 GB, free: 7.016 MB / 478.1 MB " [Timeout remaining time 649] (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: 14.00722651113756]