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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009415/0.0009418, allocations: 100.3 kB / 16.96 MB, free: 6.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008647/0.0008648, allocations: 179 kB / 17.84 MB, free: 5.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.4 MB / 224 MB, free: 13.06 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004204/0.0004204, allocations: 19.94 kB / 280.8 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09157/0.092, allocations: 47.58 MB / 328.3 MB, free: 4.078 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.00129/0.09333, allocations: 1.078 MB / 329.4 MB, free: 2.988 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.3364/0.4298, allocations: 136.9 MB / 466.3 MB, free: 208 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.245e-05/0.4299, allocations: 0 / 466.3 MB, free: 208 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.399e-05/0.43, allocations: 11.92 kB / 466.4 MB, free: 196 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001232/0.4312, allocations: 243.8 kB / 466.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00177/0.433, allocations: 0.581 MB / 467.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.4331, allocations: 79.69 kB / 467.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.522e-05/0.4332, allocations: 7.984 kB / 467.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.44e-05/0.4333, allocations: 31.86 kB / 467.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.786e-05/0.4334, allocations: 35.89 kB / 467.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.4334, allocations: 4 kB / 467.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001993/0.4354, allocations: 1.045 MB / 468.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.558e-05/0.4354, allocations: 19.92 kB / 468.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.222e-05/0.4355, allocations: 29.7 kB / 468.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007477/0.4362, allocations: 0.5315 MB / 469 MB, free: 13.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4363, allocations: 0 / 469 MB, free: 13.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.4363, allocations: 4 kB / 469 MB, free: 13.58 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.4363, allocations: 0 / 469 MB, free: 13.58 MB / 366.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.0006337/0.4369, allocations: 471.5 kB / 469.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.437, allocations: 8.031 kB / 469.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003477/0.4373, allocations: 35.95 kB / 469.5 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.4375, allocations: 198.8 kB / 469.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.4376, allocations: 7.938 kB / 469.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.4376, allocations: 0 / 469.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.4378, allocations: 76.2 kB / 469.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.4378, allocations: 0 / 469.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.4378, allocations: 4 kB / 469.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4378, allocations: 4 kB / 469.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.4379, allocations: 39.97 kB / 469.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002356/0.4382, allocations: 194.5 kB / 470 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.4385, allocations: 117.1 kB / 470.1 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.49e-05/0.4386, allocations: 37.75 kB / 470.1 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004525/0.439, allocations: 129 kB / 470.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.4391, allocations: 38.56 kB / 470.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.4391, allocations: 0 / 470.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003446/0.4394, allocations: 125.8 kB / 470.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.339e-05/0.4395, allocations: 85.05 kB / 470.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.4396, allocations: 133.8 kB / 470.6 MB, free: 11.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.4397, allocations: 33.7 kB / 470.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.118e-05/0.4397, allocations: 84.08 kB / 470.7 MB, free: 11.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.835e-05/0.4398, allocations: 27.64 kB / 470.8 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.4398, allocations: 8 kB / 470.8 MB, free: 11.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.4399, allocations: 310.8 kB / 471.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.635e-05/0.44, allocations: 27.98 kB / 471.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.427e-05/0.4401, allocations: 51.41 kB / 471.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.406e-05/0.4401, allocations: 31.98 kB / 471.2 MB, free: 11.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.4401, allocations: 3.953 kB / 471.2 MB, free: 11.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002331/0.4404, allocations: 97.59 kB / 471.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.4404, allocations: 8 kB / 471.3 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.4404, allocations: 1.562 kB / 471.3 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.4404, allocations: 3.938 kB / 471.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.782e-05/0.4405, allocations: 19.98 kB / 471.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.4405, allocations: 0 / 471.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.48e-05/0.4406, allocations: 7.906 kB / 471.3 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.4406, allocations: 8.062 kB / 471.3 MB, free: 10.93 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.571e-05/0.4407, allocations: 109.8 kB / 471.4 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.009e-05/0.4407, allocations: 15.84 kB / 471.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002507/0.441, allocations: 111.9 kB / 471.6 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.441, allocations: 0 / 471.6 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.441, allocations: 4 kB / 471.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.441, allocations: 0 / 471.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.4412, allocations: 189.6 kB / 471.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4412, allocations: 4 kB / 471.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.914e-05/0.4413, allocations: 23.83 kB / 471.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-06/0.4413, allocations: 3.938 kB / 471.8 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.4413, allocations: 0 / 471.8 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4413, allocations: 0 / 471.8 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4413, allocations: 4 kB / 471.8 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000313/0.4416, allocations: 161.9 kB / 471.9 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.705e-05/0.4417, allocations: 96.97 kB / 472 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.4417, allocations: 3.953 kB / 472 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.336e-05/0.4418, allocations: 8 kB / 472.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.4418, allocations: 7.984 kB / 472.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.4418, allocations: 0 / 472.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.858e-05/0.4419, allocations: 123.1 kB / 472.2 MB, free: 9.984 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4419, allocations: 0 / 472.2 MB, free: 9.984 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005529/0.4425, allocations: 195.8 kB / 472.4 MB, free: 9.793 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00105/0.4436, allocations: 452.2 kB / 472.8 MB, free: 9.344 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001841/0.4438, allocations: 59.91 kB / 472.9 MB, free: 9.285 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4438, allocations: 0 / 472.9 MB, free: 9.285 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.268e-05/0.4438, allocations: 31.97 kB / 472.9 MB, free: 9.254 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.4441, allocations: 31.33 kB / 472.9 MB, free: 9.227 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006397/0.4448, allocations: 361.2 kB / 473.3 MB, free: 8.848 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.4451, allocations: 0.6926 MB / 474 MB, free: 8.129 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.272e-05/0.4452, allocations: 21.02 kB / 474 MB, free: 8.109 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.013e-05/0.4452, allocations: 23.44 kB / 474 MB, free: 8.086 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4452, allocations: 3.938 kB / 474 MB, free: 8.082 MB / 366.1 MB Notification: Performance of Templates: time 0.01004/0.4553, allocations: 5.841 MB / 479.9 MB, free: 2.238 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (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 & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins/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","../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches