Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001623/0.001623, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.627/1.627, allocations: 225.6 MB / 234.8 MB, free: 3.301 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008752/0.0008754, allocations: 99.42 kB / 286.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.854e-05/1.857e-05, allocations: 0 / 343.7 MB, free: 8.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1706, allocations: 51.47 MB / 395.2 MB, free: 4.809 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.208/2.378, allocations: 0.715 GB / 1.101 GB, free: 134.7 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/2.379, allocations: 70.33 kB / 1.101 GB, free: 134.7 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1491/2.528, allocations: 67.74 MB / 1.167 GB, free: 82.24 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.864e-06/2.528, allocations: 0 / 1.167 GB, free: 82.24 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.788e-06/2.528, allocations: 0 / 1.167 GB, free: 82.24 MB / 442.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.0007857/2.529, allocations: 445 kB / 1.168 GB, free: 81.76 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/2.529, allocations: 8.031 kB / 1.168 GB, free: 81.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004283/2.529, allocations: 52.47 kB / 1.168 GB, free: 81.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/2.529, allocations: 194.9 kB / 1.168 GB, free: 81.47 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/2.529, allocations: 4 kB / 1.168 GB, free: 81.47 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/2.529, allocations: 0 / 1.168 GB, free: 81.47 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.306e-05/2.53, allocations: 43.95 kB / 1.168 GB, free: 81.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/2.53, allocations: 67.34 kB / 1.168 GB, free: 81.35 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/2.53, allocations: 7.922 kB / 1.168 GB, free: 81.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/2.53, allocations: 4 kB / 1.168 GB, free: 81.34 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/2.53, allocations: 0 / 1.168 GB, free: 81.34 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002039/2.53, allocations: 175.1 kB / 1.168 GB, free: 81.12 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/2.53, allocations: 105.2 kB / 1.168 GB, free: 81 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.713e-05/2.53, allocations: 33.86 kB / 1.168 GB, free: 80.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004138/2.531, allocations: 226.1 kB / 1.168 GB, free: 80.71 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/2.531, allocations: 38.5 kB / 1.169 GB, free: 80.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/2.531, allocations: 0 / 1.169 GB, free: 80.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.001294/2.532, allocations: 299.4 kB / 1.169 GB, free: 80.36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/2.532, allocations: 77.11 kB / 1.169 GB, free: 80.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.921e-05/2.532, allocations: 124.9 kB / 1.169 GB, free: 80.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/2.532, allocations: 29.7 kB / 1.169 GB, free: 80.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.869e-05/2.532, allocations: 88.12 kB / 1.169 GB, free: 80.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/2.532, allocations: 23.66 kB / 1.169 GB, free: 79.99 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/2.532, allocations: 0 / 1.169 GB, free: 79.99 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.599e-05/2.532, allocations: 322.8 kB / 1.169 GB, free: 79.67 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.447e-05/2.532, allocations: 19.92 kB / 1.169 GB, free: 79.65 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.951e-05/2.532, allocations: 47.41 kB / 1.169 GB, free: 79.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008482/2.533, allocations: 215.7 kB / 1.17 GB, free: 79.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/2.533, allocations: 0 / 1.17 GB, free: 79.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0009181/2.534, allocations: 285.2 kB / 1.17 GB, free: 79.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/2.534, allocations: 8 kB / 1.17 GB, free: 79.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/2.534, allocations: 0 / 1.17 GB, free: 79.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/2.534, allocations: 0 / 1.17 GB, free: 79.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.781e-05/2.534, allocations: 19.98 kB / 1.17 GB, free: 79.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/2.534, allocations: 0 / 1.17 GB, free: 79.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.726e-05/2.534, allocations: 16.19 kB / 1.17 GB, free: 79.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/2.534, allocations: 7.953 kB / 1.17 GB, free: 79.04 MB / 442.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 6.21e-05/2.535, allocations: 101 kB / 1.17 GB, free: 78.94 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.29e-05/2.535, allocations: 11.89 kB / 1.17 GB, free: 78.93 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009769/2.536, allocations: 310 kB / 1.17 GB, free: 78.62 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/2.536, allocations: 2.906 kB / 1.17 GB, free: 78.62 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/2.536, allocations: 3.938 kB / 1.17 GB, free: 78.61 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/2.536, allocations: 0 / 1.17 GB, free: 78.61 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/2.536, allocations: 162.1 kB / 1.171 GB, free: 78.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/2.536, allocations: 4 kB / 1.171 GB, free: 78.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.055e-05/2.536, allocations: 15.98 kB / 1.171 GB, free: 78.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/2.536, allocations: 0 / 1.171 GB, free: 78.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/2.536, allocations: 4 kB / 1.171 GB, free: 78.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/2.536, allocations: 0 / 1.171 GB, free: 78.39 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/2.536, allocations: 0 / 1.171 GB, free: 78.39 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/2.537, allocations: 363.2 kB / 1.171 GB, free: 78.01 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.572e-05/2.537, allocations: 97.03 kB / 1.171 GB, free: 77.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/2.537, allocations: 3.984 kB / 1.171 GB, free: 77.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.758e-05/2.537, allocations: 4 kB / 1.171 GB, free: 77.89 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.278e-05/2.537, allocations: 4 kB / 1.171 GB, free: 77.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/2.537, allocations: 7.984 kB / 1.171 GB, free: 77.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.339e-05/2.537, allocations: 103.3 kB / 1.171 GB, free: 77.78 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/2.537, allocations: 0 / 1.171 GB, free: 77.78 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001037/2.538, allocations: 203.8 kB / 1.171 GB, free: 77.58 MB / 442.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.002549/2.541, allocations: 0.9174 MB / 1.172 GB, free: 76.66 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000182/2.541, allocations: 51.92 kB / 1.172 GB, free: 76.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/2.541, allocations: 4 kB / 1.172 GB, free: 76.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.358e-05/2.541, allocations: 27.98 kB / 1.172 GB, free: 76.58 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/2.542, allocations: 14.88 kB / 1.172 GB, free: 76.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000555/2.542, allocations: 240.5 kB / 1.173 GB, free: 76.31 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/2.542, allocations: 0.6963 MB / 1.173 GB, free: 75.59 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.891e-05/2.542, allocations: 15.94 kB / 1.173 GB, free: 75.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.167e-05/2.542, allocations: 16.92 kB / 1.173 GB, free: 75.55 MB / 442.7 MB Notification: Performance of SimCode: time 5.41e-07/2.542, allocations: 0 / 1.173 GB, free: 75.55 MB / 442.7 MB Notification: Performance of Templates: time 0.01201/2.554, allocations: 7.382 MB / 1.18 GB, free: 68.19 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches