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.0009877/0.0009882, allocations: 175.5 kB / 17.4 MB, free: 4.414 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.366/1.366, allocations: 223.3 MB / 241.4 MB, free: 9.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008199/0.0008201, allocations: 99.53 kB / 292.6 MB, free: 10.58 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003374/0.0003374, allocations: 19.92 kB / 352.3 MB, free: 14.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2497, allocations: 50.41 MB / 402.7 MB, free: 32.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.416/1.666, allocations: 0.7151 GB / 1.108 GB, free: 109.6 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/1.666, allocations: 75.97 kB / 1.108 GB, free: 109.5 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1289/1.795, allocations: 68.04 MB / 1.175 GB, free: 40.53 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.926e-06/1.795, allocations: 0 / 1.175 GB, free: 40.53 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.249e-05/1.795, allocations: 0 / 1.175 GB, free: 40.53 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.000812/1.796, allocations: 466.9 kB / 1.175 GB, free: 40.02 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/1.796, allocations: 12.03 kB / 1.175 GB, free: 40.01 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000322/1.796, allocations: 48.72 kB / 1.175 GB, free: 39.96 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/1.796, allocations: 200.3 kB / 1.176 GB, free: 39.73 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/1.796, allocations: 384 / 1.176 GB, free: 39.73 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/1.796, allocations: 8.281 kB / 1.176 GB, free: 39.72 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/1.796, allocations: 83.92 kB / 1.176 GB, free: 39.62 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/1.796, allocations: 192 / 1.176 GB, free: 39.62 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/1.796, allocations: 3.938 kB / 1.176 GB, free: 39.62 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/1.796, allocations: 0 / 1.176 GB, free: 39.62 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/1.797, allocations: 43.89 kB / 1.176 GB, free: 39.58 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001963/1.797, allocations: 198.6 kB / 1.176 GB, free: 39.33 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/1.797, allocations: 113.1 kB / 1.176 GB, free: 39.2 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.982e-05/1.797, allocations: 41.69 kB / 1.176 GB, free: 39.16 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003645/1.798, allocations: 226.1 kB / 1.176 GB, free: 38.9 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.633e-05/1.798, allocations: 30.56 kB / 1.176 GB, free: 38.86 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/1.798, allocations: 3.938 kB / 1.176 GB, free: 38.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004455/1.798, allocations: 157.5 kB / 1.176 GB, free: 38.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/1.798, allocations: 77.11 kB / 1.177 GB, free: 38.6 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.933e-05/1.798, allocations: 141.8 kB / 1.177 GB, free: 38.45 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.838e-06/1.798, allocations: 25.7 kB / 1.177 GB, free: 38.42 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.602e-05/1.798, allocations: 88.12 kB / 1.177 GB, free: 38.33 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/1.798, allocations: 15.75 kB / 1.177 GB, free: 38.32 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/1.798, allocations: 4 kB / 1.177 GB, free: 38.31 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.128e-05/1.798, allocations: 318.8 kB / 1.177 GB, free: 37.99 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.348e-05/1.798, allocations: 31.97 kB / 1.177 GB, free: 37.96 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.323e-05/1.798, allocations: 51.34 kB / 1.177 GB, free: 37.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/1.799, allocations: 79.39 kB / 1.177 GB, free: 37.81 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.799, allocations: 0 / 1.177 GB, free: 37.81 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002054/1.799, allocations: 117.4 kB / 1.177 GB, free: 37.69 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/1.799, allocations: 8 kB / 1.177 GB, free: 37.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/1.799, allocations: 3.938 kB / 1.177 GB, free: 37.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/1.799, allocations: 0 / 1.177 GB, free: 37.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.498e-05/1.799, allocations: 19.98 kB / 1.177 GB, free: 37.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/1.799, allocations: 0 / 1.177 GB, free: 37.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.411e-05/1.799, allocations: 11.91 kB / 1.177 GB, free: 37.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/1.799, allocations: 4 kB / 1.177 GB, free: 37.64 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 () * 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 5.487e-05/1.799, allocations: 129.8 kB / 1.178 GB, free: 37.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/1.799, allocations: 4 kB / 1.178 GB, free: 37.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002567/1.799, allocations: 125.4 kB / 1.178 GB, free: 37.37 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/1.799, allocations: 4 kB / 1.178 GB, free: 37.37 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/1.799, allocations: 0 / 1.178 GB, free: 37.37 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/1.799, allocations: 0 / 1.178 GB, free: 37.37 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/1.8, allocations: 185.5 kB / 1.178 GB, free: 37.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/1.8, allocations: 0 / 1.178 GB, free: 37.14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.42e-05/1.8, allocations: 19.98 kB / 1.178 GB, free: 37.12 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/1.8, allocations: 0 / 1.178 GB, free: 37.12 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/1.8, allocations: 7.938 kB / 1.178 GB, free: 37.11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.8, allocations: 0 / 1.178 GB, free: 37.11 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/1.8, allocations: 3.938 kB / 1.178 GB, free: 37.11 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/1.8, allocations: 170.2 kB / 1.178 GB, free: 36.92 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.399e-05/1.8, allocations: 101.2 kB / 1.178 GB, free: 36.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/1.8, allocations: 3.938 kB / 1.178 GB, free: 36.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.218e-05/1.8, allocations: 16.05 kB / 1.178 GB, free: 36.78 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/1.8, allocations: 7.984 kB / 1.178 GB, free: 36.77 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-06/1.8, allocations: 7.938 kB / 1.178 GB, free: 36.77 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.983e-05/1.8, allocations: 103.7 kB / 1.178 GB, free: 36.66 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.11e-07/1.8, allocations: 0 / 1.178 GB, free: 36.66 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006884/1.801, allocations: 211.8 kB / 1.178 GB, free: 36.46 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 () * 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.001223/1.802, allocations: 0.7933 MB / 1.179 GB, free: 35.66 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001727/1.802, allocations: 75.83 kB / 1.179 GB, free: 35.59 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.802, allocations: 0 / 1.179 GB, free: 35.59 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.02e-05/1.802, allocations: 31.92 kB / 1.179 GB, free: 35.56 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/1.803, allocations: 22.47 kB / 1.179 GB, free: 35.54 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004811/1.803, allocations: 379.5 kB / 1.18 GB, free: 35.14 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/1.803, allocations: 0.6848 MB / 1.18 GB, free: 34.43 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.964e-05/1.803, allocations: 23.88 kB / 1.18 GB, free: 34.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/1.803, allocations: 15.44 kB / 1.18 GB, free: 34.39 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/1.803, allocations: 0 / 1.18 GB, free: 34.39 MB / 458.7 MB Notification: Performance of Templates: time 0.01375/1.817, allocations: 11.81 MB / 1.192 GB, free: 22.59 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/jenkins1/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