Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001563/0.001563, allocations: 109.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001817/0.001817, allocations: 208.9 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.418/1.418, allocations: 230.4 MB / 255.4 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 68.03 kB / 374.7 MB, free: 9.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08989/0.09177, allocations: 53.31 MB / 428 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002337/0.09411, allocations: 1.386 MB / 429.4 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3362/0.4303, allocations: 152.4 MB / 0.5682 GB, free: 6.566 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.781e-05/0.4304, allocations: 0 / 0.5682 GB, free: 6.566 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.78e-05/0.4304, allocations: 0 / 0.5682 GB, free: 6.566 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.4315, allocations: 378.4 kB / 0.5685 GB, free: 6.195 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.4327, allocations: 0.5133 MB / 0.569 GB, free: 5.688 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.4329, allocations: 75.64 kB / 0.5691 GB, free: 5.613 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.25e-05/0.4329, allocations: 4 kB / 0.5691 GB, free: 5.609 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.328e-05/0.433, allocations: 35.91 kB / 0.5691 GB, free: 5.574 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.54e-05/0.433, allocations: 35.83 kB / 0.5692 GB, free: 5.539 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.4331, allocations: 7.938 kB / 0.5692 GB, free: 5.531 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00203/0.4351, allocations: 1.13 MB / 0.5703 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.193e-05/0.4351, allocations: 15.98 kB / 0.5703 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.564e-05/0.4352, allocations: 31.84 kB / 0.5703 GB, free: 4.352 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.4363, allocations: 0.6872 MB / 0.571 GB, free: 3.668 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.4363, allocations: 0 / 0.571 GB, free: 3.668 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4363, allocations: 0 / 0.571 GB, free: 3.668 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.4363, allocations: 8 kB / 0.571 GB, free: 3.66 MB / 478.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.0006625/0.437, allocations: 462.8 kB / 0.5714 GB, free: 3.16 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.437, allocations: 12.03 kB / 0.5715 GB, free: 3.148 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004618/0.4375, allocations: 64.81 kB / 0.5715 GB, free: 3.086 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.4377, allocations: 206.1 kB / 0.5717 GB, free: 2.848 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.4377, allocations: 3.938 kB / 0.5717 GB, free: 2.844 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.4377, allocations: 15.81 kB / 0.5717 GB, free: 2.828 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.4379, allocations: 73.77 kB / 0.5718 GB, free: 2.746 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.4379, allocations: 0 / 0.5718 GB, free: 2.746 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.4379, allocations: 4 kB / 0.5718 GB, free: 2.742 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.4379, allocations: 0 / 0.5718 GB, free: 2.742 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.438, allocations: 39.97 kB / 0.5718 GB, free: 2.703 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002277/0.4383, allocations: 198.5 kB / 0.572 GB, free: 2.457 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003183/0.4386, allocations: 109.2 kB / 0.5721 GB, free: 2.332 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.019e-05/0.4387, allocations: 33.77 kB / 0.5722 GB, free: 2.293 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004849/0.4391, allocations: 141 kB / 0.5723 GB, free: 2.137 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.4392, allocations: 38.5 kB / 0.5723 GB, free: 2.09 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.4392, allocations: 0 / 0.5723 GB, free: 2.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003637/0.4395, allocations: 117.8 kB / 0.5725 GB, free: 1.969 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/0.4396, allocations: 85.11 kB / 0.5725 GB, free: 1.867 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.4397, allocations: 141.8 kB / 0.5727 GB, free: 1.719 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.4397, allocations: 25.7 kB / 0.5727 GB, free: 1.688 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.345e-05/0.4398, allocations: 88.14 kB / 0.5728 GB, free: 1.598 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.4398, allocations: 23.8 kB / 0.5728 GB, free: 1.574 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.4399, allocations: 21.7 kB / 0.5728 GB, free: 1.547 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.44, allocations: 318.8 kB / 0.5731 GB, free: 1.227 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.279e-05/0.4401, allocations: 23.98 kB / 0.5731 GB, free: 1.203 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.271e-05/0.4402, allocations: 51.41 kB / 0.5732 GB, free: 1.141 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.4403, allocations: 87.28 kB / 0.5733 GB, free: 1.043 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4403, allocations: 0 / 0.5733 GB, free: 1.043 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002624/0.4406, allocations: 105.5 kB / 0.5734 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.4406, allocations: 8.062 kB / 0.5734 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.4406, allocations: 7.938 kB / 0.5734 GB, free: 0.918 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.4406, allocations: 0 / 0.5734 GB, free: 0.918 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.131e-05/0.4407, allocations: 15.98 kB / 0.5734 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.4407, allocations: 0.5469 kB / 0.5734 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.158e-05/0.4408, allocations: 7.953 kB / 0.5734 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.4408, allocations: 5.062 kB / 0.5734 GB, free: 0.8906 MB / 478.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.528e-05/0.4409, allocations: 121.8 kB / 0.5735 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.192e-05/0.4409, allocations: 7.938 kB / 0.5735 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002545/0.4412, allocations: 116.4 kB / 0.5737 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.4412, allocations: 4 kB / 0.5737 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.4412, allocations: 0 / 0.5737 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.4412, allocations: 0 / 0.5737 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.4413, allocations: 189.6 kB / 0.5738 GB, free: 404 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.4413, allocations: 4 kB / 0.5738 GB, free: 400 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.953e-05/0.4414, allocations: 15.88 kB / 0.5739 GB, free: 384 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4414, allocations: 0.875 kB / 0.5739 GB, free: 384 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.4414, allocations: 4 kB / 0.5739 GB, free: 380 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4414, allocations: 4 kB / 0.5739 GB, free: 376 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.4414, allocations: 3.984 kB / 0.5739 GB, free: 372 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003459/0.4418, allocations: 163.5 kB / 0.574 GB, free: 188 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.645e-05/0.4418, allocations: 85.27 kB / 0.5741 GB, free: 84 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.4419, allocations: 8 kB / 0.5741 GB, free: 76 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.287e-05/0.4419, allocations: 64 / 0.5741 GB, free: 76 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.442, allocations: 15.97 kB / 0.5741 GB, free: 60 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.442, allocations: 3.938 kB / 0.5741 GB, free: 56 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.4421, allocations: 111.3 kB / 0.5742 GB, free: 15.95 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4421, allocations: 0 / 0.5742 GB, free: 15.95 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005243/0.4426, allocations: 171.4 kB / 0.5744 GB, free: 15.78 MB / 494.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.001005/0.4436, allocations: 419.5 kB / 0.5748 GB, free: 15.37 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002226/0.4438, allocations: 71.89 kB / 0.5749 GB, free: 15.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4438, allocations: 0 / 0.5749 GB, free: 15.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.701e-05/0.4439, allocations: 27.98 kB / 0.5749 GB, free: 15.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.4441, allocations: 25.64 kB / 0.5749 GB, free: 15.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005605/0.4447, allocations: 352.6 kB / 0.5753 GB, free: 14.88 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.445, allocations: 0.6885 MB / 0.5759 GB, free: 14.16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.254e-05/0.4451, allocations: 23.38 kB / 0.576 GB, free: 14.14 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4451, allocations: 3.938 kB / 0.576 GB, free: 14.13 MB / 494.1 MB Notification: Performance of Templates: time 0.00685/0.4519, allocations: 4.066 MB / 0.5799 GB, free: 10.08 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.834962654858828]