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.00104/0.00104, allocations: 198.6 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.216/1.216, allocations: 227.2 MB / 245 MB, free: 5.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008389/0.0008389, allocations: 91.2 kB / 297.3 MB, free: 5.953 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001988/0.0001988, allocations: 8 kB / 357.9 MB, free: 9.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1872, allocations: 51.48 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.195/1.383, allocations: 0.7157 GB / 1.116 GB, free: 82.91 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/1.383, allocations: 75.97 kB / 1.116 GB, free: 82.83 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1202/1.503, allocations: 68.82 MB / 1.183 GB, free: 13.05 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.252e-06/1.503, allocations: 0 / 1.183 GB, free: 13.05 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.152e-06/1.503, allocations: 0 / 1.183 GB, free: 13.05 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.0005571/1.504, allocations: 466.8 kB / 1.183 GB, free: 12.55 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/1.504, allocations: 11.97 kB / 1.183 GB, free: 12.54 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000313/1.504, allocations: 51.84 kB / 1.183 GB, free: 12.49 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/1.504, allocations: 191 kB / 1.184 GB, free: 12.26 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/1.504, allocations: 4 kB / 1.184 GB, free: 12.26 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/1.504, allocations: 4 kB / 1.184 GB, free: 12.25 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/1.504, allocations: 75.38 kB / 1.184 GB, free: 12.17 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/1.504, allocations: 0 / 1.184 GB, free: 12.17 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/1.504, allocations: 7.953 kB / 1.184 GB, free: 12.16 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/1.504, allocations: 4 kB / 1.184 GB, free: 12.16 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.83e-05/1.505, allocations: 51.86 kB / 1.184 GB, free: 12.11 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001691/1.505, allocations: 194.5 kB / 1.184 GB, free: 11.86 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002734/1.505, allocations: 125.2 kB / 1.184 GB, free: 11.72 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000355/1.505, allocations: 222.2 kB / 1.184 GB, free: 11.47 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.182e-05/1.505, allocations: 30.56 kB / 1.184 GB, free: 11.43 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/1.505, allocations: 0 / 1.184 GB, free: 11.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004378/1.506, allocations: 145.4 kB / 1.184 GB, free: 11.28 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/1.506, allocations: 85.06 kB / 1.184 GB, free: 11.18 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.048e-05/1.506, allocations: 128.8 kB / 1.185 GB, free: 11.05 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/1.506, allocations: 37.7 kB / 1.185 GB, free: 11 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.051e-05/1.506, allocations: 80.14 kB / 1.185 GB, free: 10.92 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/1.506, allocations: 23.7 kB / 1.185 GB, free: 10.9 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-06/1.506, allocations: 4 kB / 1.185 GB, free: 10.89 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 3.63e-05/1.506, allocations: 310.8 kB / 1.185 GB, free: 10.58 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.655e-05/1.506, allocations: 27.97 kB / 1.185 GB, free: 10.55 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.318e-05/1.506, allocations: 59.34 kB / 1.185 GB, free: 10.48 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.931e-05/1.506, allocations: 31.97 kB / 1.185 GB, free: 10.45 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.506, allocations: 0 / 1.185 GB, free: 10.45 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000216/1.507, allocations: 109.5 kB / 1.185 GB, free: 10.34 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/1.507, allocations: 8 kB / 1.185 GB, free: 10.33 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/1.507, allocations: 0 / 1.185 GB, free: 10.33 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/1.507, allocations: 0 / 1.185 GB, free: 10.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.892e-05/1.507, allocations: 24.05 kB / 1.185 GB, free: 10.31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/1.507, allocations: 3.938 kB / 1.185 GB, free: 10.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.691e-05/1.507, allocations: 11.89 kB / 1.185 GB, free: 10.29 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/1.507, allocations: 4 kB / 1.185 GB, free: 10.29 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 4.708e-05/1.507, allocations: 117.8 kB / 1.185 GB, free: 10.16 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.295e-05/1.507, allocations: 7.906 kB / 1.185 GB, free: 10.16 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002357/1.507, allocations: 126 kB / 1.185 GB, free: 10.03 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/1.507, allocations: 4 kB / 1.185 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/1.507, allocations: 4 kB / 1.186 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/1.507, allocations: 0 / 1.186 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.181e-05/1.507, allocations: 177.6 kB / 1.186 GB, free: 9.797 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.507, allocations: 48 / 1.186 GB, free: 9.797 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.694e-05/1.507, allocations: 19.97 kB / 1.186 GB, free: 9.777 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/1.507, allocations: 3.938 kB / 1.186 GB, free: 9.773 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/1.507, allocations: 8 kB / 1.186 GB, free: 9.766 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/1.507, allocations: 0 / 1.186 GB, free: 9.766 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/1.507, allocations: 0 / 1.186 GB, free: 9.766 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/1.508, allocations: 191.4 kB / 1.186 GB, free: 9.551 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.591e-05/1.508, allocations: 101 kB / 1.186 GB, free: 9.434 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/1.508, allocations: 0 / 1.186 GB, free: 9.434 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.494e-05/1.508, allocations: 8.062 kB / 1.186 GB, free: 9.426 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/1.508, allocations: 15.92 kB / 1.186 GB, free: 9.41 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/1.508, allocations: 7.953 kB / 1.186 GB, free: 9.402 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.759e-05/1.508, allocations: 107.8 kB / 1.186 GB, free: 9.297 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/1.508, allocations: 0 / 1.186 GB, free: 9.297 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005715/1.508, allocations: 219.7 kB / 1.186 GB, free: 9.082 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.001169/1.51, allocations: 0.8046 MB / 1.187 GB, free: 8.285 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001609/1.51, allocations: 63.91 kB / 1.187 GB, free: 8.223 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/1.51, allocations: 0 / 1.187 GB, free: 8.223 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.63e-05/1.51, allocations: 27.97 kB / 1.187 GB, free: 8.195 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/1.51, allocations: 32.14 kB / 1.187 GB, free: 8.164 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000372/1.51, allocations: 367.7 kB / 1.188 GB, free: 7.77 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.388e-05/1.511, allocations: 0.6965 MB / 1.188 GB, free: 7.047 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.829e-05/1.511, allocations: 19.92 kB / 1.188 GB, free: 7.027 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/1.511, allocations: 19.44 kB / 1.188 GB, free: 7.008 MB / 458.7 MB Notification: Performance of SimCode: time 3e-07/1.511, allocations: 0 / 1.188 GB, free: 7.008 MB / 458.7 MB Notification: Performance of Templates: time 0.1773/1.688, allocations: 11.67 MB / 1.2 GB, free: 144.5 MB / 458.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