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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001325/0.001325, allocations: 181.4 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.852/1.852, allocations: 205.4 MB / 223.1 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 100 kB / 271.5 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000308/0.000308, allocations: 8 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3385, allocations: 47.57 MB / 375.8 MB, free: 45.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.798/2.137, allocations: 0.7479 GB / 1.115 GB, free: 20.41 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/2.137, allocations: 79.95 kB / 1.115 GB, free: 20.33 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4577/2.595, allocations: 78.14 MB / 1.191 GB, free: 114.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.294e-06/2.595, allocations: 0 / 1.191 GB, free: 114.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.167e-05/2.595, allocations: 0 / 1.191 GB, free: 114.8 MB / 426.7 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.001098/2.596, allocations: 494.7 kB / 1.192 GB, free: 114.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/2.596, allocations: 8.031 kB / 1.192 GB, free: 114.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003169/2.597, allocations: 36.55 kB / 1.192 GB, free: 114.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/2.597, allocations: 195 kB / 1.192 GB, free: 114 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/2.597, allocations: 4 kB / 1.192 GB, free: 114 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/2.597, allocations: 7.938 kB / 1.192 GB, free: 114 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/2.597, allocations: 79.31 kB / 1.192 GB, free: 113.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/2.597, allocations: 4 kB / 1.192 GB, free: 113.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/2.597, allocations: 0 / 1.192 GB, free: 113.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/2.597, allocations: 4 kB / 1.192 GB, free: 113.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/2.597, allocations: 51.92 kB / 1.192 GB, free: 113.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002419/2.598, allocations: 198.4 kB / 1.192 GB, free: 113.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003407/2.598, allocations: 121.3 kB / 1.192 GB, free: 113.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004151/2.598, allocations: 125.1 kB / 1.193 GB, free: 113.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/2.598, allocations: 42.5 kB / 1.193 GB, free: 113.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.933e-06/2.598, allocations: 4 kB / 1.193 GB, free: 113.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003745/2.599, allocations: 125.4 kB / 1.193 GB, free: 113.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/2.599, allocations: 81.11 kB / 1.193 GB, free: 113.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.72e-05/2.599, allocations: 121 kB / 1.193 GB, free: 112.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/2.599, allocations: 29.7 kB / 1.193 GB, free: 112.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.625e-05/2.599, allocations: 84.14 kB / 1.193 GB, free: 112.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/2.599, allocations: 23.7 kB / 1.193 GB, free: 112.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/2.599, allocations: 3.938 kB / 1.193 GB, free: 112.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.988e-05/2.599, allocations: 318.8 kB / 1.193 GB, free: 112.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.903e-05/2.599, allocations: 31.97 kB / 1.193 GB, free: 112.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.768e-05/2.599, allocations: 43.41 kB / 1.193 GB, free: 112.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.417e-05/2.599, allocations: 35.92 kB / 1.193 GB, free: 112.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/2.599, allocations: 4 kB / 1.193 GB, free: 112.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002843/2.6, allocations: 117.4 kB / 1.194 GB, free: 112.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/2.6, allocations: 8 kB / 1.194 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/2.6, allocations: 0 / 1.194 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/2.6, allocations: 0 / 1.194 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.075e-05/2.6, allocations: 19.98 kB / 1.194 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/2.6, allocations: 0 / 1.194 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.231e-05/2.6, allocations: 7.938 kB / 1.194 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/2.6, allocations: 4 kB / 1.194 GB, free: 112.2 MB / 426.7 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.045e-05/2.6, allocations: 129.8 kB / 1.194 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-05/2.6, allocations: 7.906 kB / 1.194 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002778/2.6, allocations: 130.3 kB / 1.194 GB, free: 111.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/2.6, allocations: 0 / 1.194 GB, free: 111.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/2.6, allocations: 0 / 1.194 GB, free: 111.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/2.6, allocations: 96 / 1.194 GB, free: 111.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/2.6, allocations: 185.6 kB / 1.194 GB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/2.6, allocations: 11.94 kB / 1.194 GB, free: 111.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.184e-05/2.601, allocations: 12 kB / 1.194 GB, free: 111.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/2.601, allocations: 4 kB / 1.194 GB, free: 111.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/2.601, allocations: 0 / 1.194 GB, free: 111.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/2.601, allocations: 3.984 kB / 1.194 GB, free: 111.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/2.601, allocations: 7.938 kB / 1.194 GB, free: 111.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/2.601, allocations: 183.4 kB / 1.194 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/2.601, allocations: 101 kB / 1.194 GB, free: 111.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/2.601, allocations: 4 kB / 1.194 GB, free: 111.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.45e-05/2.601, allocations: 8.047 kB / 1.194 GB, free: 111.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/2.601, allocations: 4 kB / 1.194 GB, free: 111.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/2.601, allocations: 11.98 kB / 1.194 GB, free: 111.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.639e-05/2.601, allocations: 111.2 kB / 1.195 GB, free: 111.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/2.601, allocations: 0 / 1.195 GB, free: 111.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001309/2.603, allocations: 263.6 kB / 1.195 GB, free: 110.9 MB / 426.7 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.002744/2.605, allocations: 0.9424 MB / 1.196 GB, free: 110 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002568/2.606, allocations: 67.89 kB / 1.196 GB, free: 109.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/2.606, allocations: 0 / 1.196 GB, free: 109.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.376e-05/2.606, allocations: 31.92 kB / 1.196 GB, free: 109.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/2.606, allocations: 31.86 kB / 1.196 GB, free: 109.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000649/2.607, allocations: 371.8 kB / 1.196 GB, free: 109.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/2.607, allocations: 0.6965 MB / 1.197 GB, free: 108.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.591e-05/2.607, allocations: 15.94 kB / 1.197 GB, free: 108.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.177e-05/2.607, allocations: 15.44 kB / 1.197 GB, free: 108.7 MB / 426.7 MB Notification: Performance of SimCode: time 4.21e-07/2.607, allocations: 0 / 1.197 GB, free: 108.7 MB / 426.7 MB Notification: Performance of Templates: time 0.01904/2.626, allocations: 12.97 MB / 1.21 GB, free: 95.72 MB / 426.7 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