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.001486/0.001486, allocations: 108.6 kB / 17.93 MB, free: 5.535 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.001549/0.001549, allocations: 189.8 kB / 18.86 MB, free: 4.613 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.342/1.342, allocations: 205.1 MB / 224.7 MB, free: 12.44 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.001934/0.001934, allocations: 48.16 kB / 280.8 MB, free: 3.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09576/0.09771, allocations: 46.63 MB / 327.4 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002369/0.1001, allocations: 1.432 MB / 328.9 MB, free: 3.355 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.3276/0.4277, allocations: 148.6 MB / 477.4 MB, free: 1.531 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.002e-05/0.4279, allocations: 0 / 477.4 MB, free: 1.531 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.653e-05/0.4279, allocations: 4 kB / 477.4 MB, free: 1.527 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.429, allocations: 318.1 kB / 477.8 MB, free: 1.219 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001765/0.4308, allocations: 0.7537 MB / 478.5 MB, free: 476 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.4309, allocations: 67.72 kB / 478.6 MB, free: 408 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.555e-05/0.4309, allocations: 7.938 kB / 478.6 MB, free: 400 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.752e-05/0.431, allocations: 39.84 kB / 478.6 MB, free: 360 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.081e-05/0.4311, allocations: 39.83 kB / 478.7 MB, free: 320 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.4311, allocations: 0 / 478.7 MB, free: 320 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002191/0.4333, allocations: 1.426 MB / 480.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.392e-05/0.4334, allocations: 11.98 kB / 480.1 MB, free: 14.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/0.4334, allocations: 30.77 kB / 480.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000907/0.4343, allocations: 0.6082 MB / 480.7 MB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.4344, allocations: 0 / 480.7 MB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4344, allocations: 4 kB / 480.7 MB, free: 14.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.4344, allocations: 0 / 480.7 MB, free: 14.23 MB / 382.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.0006662/0.4351, allocations: 479.7 kB / 481.2 MB, free: 13.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.4351, allocations: 8.031 kB / 481.2 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003103/0.4354, allocations: 40.8 kB / 481.3 MB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.4356, allocations: 196.2 kB / 481.5 MB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.4356, allocations: 4.562 kB / 481.5 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.4357, allocations: 3.938 kB / 481.5 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.4358, allocations: 83.38 kB / 481.5 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.4358, allocations: 0 / 481.5 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.4359, allocations: 0.875 kB / 481.5 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.4359, allocations: 0 / 481.5 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.979e-05/0.436, allocations: 47.91 kB / 481.6 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001899/0.4362, allocations: 182.6 kB / 481.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/0.4365, allocations: 121.1 kB / 481.9 MB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.287e-05/0.4366, allocations: 41.7 kB / 481.9 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005493/0.4371, allocations: 137 kB / 482.1 MB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.4372, allocations: 30.56 kB / 482.1 MB, free: 12.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.4372, allocations: 0 / 482.1 MB, free: 12.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003643/0.4375, allocations: 125.5 kB / 482.2 MB, free: 12.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.4376, allocations: 85.11 kB / 482.3 MB, free: 12.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.4377, allocations: 141.8 kB / 482.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.4377, allocations: 29.7 kB / 482.5 MB, free: 12.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.635e-05/0.4378, allocations: 80.14 kB / 482.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.4378, allocations: 27.64 kB / 482.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.4379, allocations: 17.72 kB / 482.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.438, allocations: 323.8 kB / 482.9 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.934e-05/0.438, allocations: 27.98 kB / 482.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.509e-05/0.4381, allocations: 47.42 kB / 483 MB, free: 11.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.4383, allocations: 86.64 kB / 483.1 MB, free: 11.63 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.4383, allocations: 0 / 483.1 MB, free: 11.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002338/0.4385, allocations: 117.5 kB / 483.2 MB, free: 11.51 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.4386, allocations: 8 kB / 483.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.4386, allocations: 0 / 483.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.4386, allocations: 0 / 483.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.477e-05/0.4387, allocations: 12 kB / 483.2 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.4387, allocations: 7.938 kB / 483.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.06e-05/0.4387, allocations: 11.89 kB / 483.2 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.4387, allocations: 4 kB / 483.2 MB, free: 11.47 MB / 382.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 7.659e-05/0.4388, allocations: 117.8 kB / 483.3 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/0.4389, allocations: 11.84 kB / 483.3 MB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000238/0.4391, allocations: 115.4 kB / 483.5 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.4391, allocations: 3.984 kB / 483.5 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4391, allocations: 0 / 483.5 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.4392, allocations: 4 kB / 483.5 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.4393, allocations: 185.5 kB / 483.6 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4393, allocations: 0 / 483.6 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.582e-05/0.4394, allocations: 11.98 kB / 483.7 MB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.4394, allocations: 8 kB / 483.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.4394, allocations: 4 kB / 483.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4394, allocations: 0 / 483.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4394, allocations: 0 / 483.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.4398, allocations: 169.7 kB / 483.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.38e-05/0.4398, allocations: 85.12 kB / 483.9 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.4399, allocations: 4.062 kB / 483.9 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.537e-05/0.4399, allocations: 7.984 kB / 483.9 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.44, allocations: 4 kB / 483.9 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.44, allocations: 7.938 kB / 483.9 MB, free: 10.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.86e-05/0.44, allocations: 111.2 kB / 484.1 MB, free: 10.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.44, allocations: 4 kB / 484.1 MB, free: 10.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006412/0.4407, allocations: 199.8 kB / 484.2 MB, free: 10.34 MB / 382.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.001261/0.442, allocations: 0.5067 MB / 484.8 MB, free: 9.828 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002186/0.4422, allocations: 71.89 kB / 484.8 MB, free: 9.758 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4422, allocations: 0 / 484.8 MB, free: 9.758 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.147e-05/0.4423, allocations: 31.92 kB / 484.9 MB, free: 9.727 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.4425, allocations: 28.78 kB / 484.9 MB, free: 9.699 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005655/0.4431, allocations: 349.5 kB / 485.2 MB, free: 9.328 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.4433, allocations: 0.6885 MB / 485.9 MB, free: 8.613 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.4434, allocations: 23.44 kB / 485.9 MB, free: 8.59 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4434, allocations: 3.938 kB / 485.9 MB, free: 8.586 MB / 382.1 MB Notification: Performance of Templates: time 0.007404/0.4508, allocations: 4.828 MB / 490.8 MB, free: 3.758 MB / 382.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/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","../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