Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 174.7 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 221.3 MB / 235.5 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001432, allocations: 95.84 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.816e-05/3.82e-05, allocations: 11.98 kB / 343.8 MB, free: 4.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1673, allocations: 50.4 MB / 394.2 MB, free: 1.871 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.38/2.548, allocations: 0.7149 GB / 1.1 GB, free: 172.5 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003429/2.548, allocations: 72.86 kB / 1.1 GB, free: 172.5 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1341/2.682, allocations: 68.34 MB / 1.167 GB, free: 105.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.944e-06/2.682, allocations: 0 / 1.167 GB, free: 105.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.849e-06/2.682, allocations: 4 kB / 1.167 GB, free: 105.8 MB / 458.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.0007058/2.683, allocations: 446.7 kB / 1.167 GB, free: 105.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/2.683, allocations: 8.031 kB / 1.167 GB, free: 105.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003652/2.683, allocations: 51.84 kB / 1.167 GB, free: 105.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/2.684, allocations: 198.9 kB / 1.167 GB, free: 105 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/2.684, allocations: 4 kB / 1.167 GB, free: 105 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/2.684, allocations: 8 kB / 1.167 GB, free: 105 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/2.684, allocations: 67.38 kB / 1.167 GB, free: 104.9 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/2.684, allocations: 4 kB / 1.167 GB, free: 104.9 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/2.684, allocations: 8 kB / 1.167 GB, free: 104.9 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/2.684, allocations: 0 / 1.167 GB, free: 104.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.918e-05/2.684, allocations: 43.89 kB / 1.168 GB, free: 104.9 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002189/2.684, allocations: 190.5 kB / 1.168 GB, free: 104.6 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/2.684, allocations: 129.1 kB / 1.168 GB, free: 104.5 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.605e-05/2.685, allocations: 37.8 kB / 1.168 GB, free: 104.5 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004054/2.685, allocations: 214.1 kB / 1.168 GB, free: 104.2 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/2.685, allocations: 34.56 kB / 1.168 GB, free: 104.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/2.685, allocations: 4 kB / 1.168 GB, free: 104.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003585/2.685, allocations: 113.5 kB / 1.168 GB, free: 104 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/2.685, allocations: 77.11 kB / 1.168 GB, free: 103.9 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.582e-05/2.685, allocations: 125 kB / 1.168 GB, free: 103.8 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/2.686, allocations: 25.7 kB / 1.168 GB, free: 103.8 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.053e-05/2.686, allocations: 92.12 kB / 1.169 GB, free: 103.7 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/2.686, allocations: 27.64 kB / 1.169 GB, free: 103.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-06/2.686, allocations: 0 / 1.169 GB, free: 103.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.884e-05/2.686, allocations: 326.8 kB / 1.169 GB, free: 103.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.891e-05/2.686, allocations: 19.98 kB / 1.169 GB, free: 103.3 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.726e-05/2.686, allocations: 47.42 kB / 1.169 GB, free: 103.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.911e-05/2.686, allocations: 31.91 kB / 1.169 GB, free: 103.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/2.686, allocations: 0 / 1.169 GB, free: 103.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000164/2.686, allocations: 105.5 kB / 1.169 GB, free: 103.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/2.686, allocations: 8 kB / 1.169 GB, free: 103.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/2.686, allocations: 4 kB / 1.169 GB, free: 103.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/2.686, allocations: 0 / 1.169 GB, free: 103.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.177e-05/2.686, allocations: 15.98 kB / 1.169 GB, free: 103.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/2.686, allocations: 4 kB / 1.169 GB, free: 103.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.707e-05/2.686, allocations: 0 / 1.169 GB, free: 103.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/2.686, allocations: 15.92 kB / 1.169 GB, free: 103.1 MB / 458.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 () * 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 5.385e-05/2.686, allocations: 108.9 kB / 1.169 GB, free: 103 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/2.686, allocations: 11.91 kB / 1.169 GB, free: 102.9 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002082/2.687, allocations: 126 kB / 1.169 GB, free: 102.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/2.687, allocations: 0 / 1.169 GB, free: 102.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/2.687, allocations: 0 / 1.169 GB, free: 102.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/2.687, allocations: 4.281 kB / 1.169 GB, free: 102.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/2.687, allocations: 185.5 kB / 1.169 GB, free: 102.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/2.687, allocations: 0 / 1.169 GB, free: 102.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.536e-05/2.687, allocations: 15.94 kB / 1.17 GB, free: 102.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/2.687, allocations: 7.969 kB / 1.17 GB, free: 102.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/2.687, allocations: 0 / 1.17 GB, free: 102.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/2.687, allocations: 8 kB / 1.17 GB, free: 102.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/2.687, allocations: 0 / 1.17 GB, free: 102.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/2.687, allocations: 171.4 kB / 1.17 GB, free: 102.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.809e-05/2.687, allocations: 101.1 kB / 1.17 GB, free: 102.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/2.687, allocations: 4 kB / 1.17 GB, free: 102.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.46e-05/2.687, allocations: 4 kB / 1.17 GB, free: 102.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/2.687, allocations: 15.98 kB / 1.17 GB, free: 102.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/2.687, allocations: 8 kB / 1.17 GB, free: 102.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.471e-05/2.687, allocations: 103.3 kB / 1.17 GB, free: 102.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/2.687, allocations: 0 / 1.17 GB, free: 102.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008098/2.688, allocations: 215.8 kB / 1.17 GB, free: 101.9 MB / 458.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 () * 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.001247/2.689, allocations: 0.7958 MB / 1.171 GB, free: 101.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001231/2.69, allocations: 59.91 kB / 1.171 GB, free: 101 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/2.69, allocations: 0 / 1.171 GB, free: 101 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.81e-05/2.69, allocations: 28.11 kB / 1.171 GB, free: 101 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/2.69, allocations: 27.88 kB / 1.171 GB, free: 101 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003857/2.69, allocations: 238.3 kB / 1.171 GB, free: 100.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/2.69, allocations: 0.6926 MB / 1.172 GB, free: 100 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.558e-05/2.69, allocations: 19.83 kB / 1.172 GB, free: 99.98 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/2.69, allocations: 19.44 kB / 1.172 GB, free: 99.96 MB / 458.7 MB Notification: Performance of SimCode: time 3.3e-07/2.69, allocations: 0 / 1.172 GB, free: 99.96 MB / 458.7 MB Notification: Performance of Templates: time 0.01507/2.706, allocations: 13.44 MB / 1.185 GB, free: 86.52 MB / 458.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches