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.001401/0.001401, allocations: 198 kB / 14.17 MB, free: 1.148 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.628/1.628, allocations: 225.4 MB / 240.1 MB, free: 15.06 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009529/0.0009531, allocations: 93.05 kB / 292.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.97e-05/4.981e-05, allocations: 4 kB / 350.5 MB, free: 2.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1836, allocations: 51.49 MB / 402 MB, free: 14.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.467/2.651, allocations: 0.7157 GB / 1.108 GB, free: 131.7 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002045/2.651, allocations: 73.5 kB / 1.108 GB, free: 131.7 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1492/2.801, allocations: 68.76 MB / 1.175 GB, free: 104.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.192e-06/2.801, allocations: 0 / 1.175 GB, free: 104.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.104e-05/2.801, allocations: 4 kB / 1.176 GB, free: 104.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.0008255/2.801, allocations: 447.3 kB / 1.176 GB, free: 104.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/2.801, allocations: 9.156 kB / 1.176 GB, free: 104.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004265/2.802, allocations: 59.2 kB / 1.176 GB, free: 104.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/2.802, allocations: 190.9 kB / 1.176 GB, free: 104 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/2.802, allocations: 0 / 1.176 GB, free: 104 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/2.802, allocations: 8 kB / 1.176 GB, free: 104 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/2.802, allocations: 75.31 kB / 1.176 GB, free: 103.9 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/2.802, allocations: 4 kB / 1.176 GB, free: 103.9 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/2.802, allocations: 3.953 kB / 1.176 GB, free: 103.9 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/2.802, allocations: 0 / 1.176 GB, free: 103.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.119e-05/2.803, allocations: 47.89 kB / 1.176 GB, free: 103.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002275/2.803, allocations: 191.2 kB / 1.176 GB, free: 103.6 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003084/2.803, allocations: 121.2 kB / 1.177 GB, free: 103.5 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.346e-05/2.803, allocations: 30.61 kB / 1.177 GB, free: 103.4 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004369/2.804, allocations: 222.1 kB / 1.177 GB, free: 103.2 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/2.804, allocations: 38.56 kB / 1.177 GB, free: 103.1 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/2.804, allocations: 0 / 1.177 GB, free: 103.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003841/2.804, allocations: 113.4 kB / 1.177 GB, free: 103 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/2.804, allocations: 77.11 kB / 1.177 GB, free: 102.9 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/2.804, allocations: 129 kB / 1.177 GB, free: 102.8 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/2.804, allocations: 25.7 kB / 1.177 GB, free: 102.8 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/2.804, allocations: 89.25 kB / 1.177 GB, free: 102.7 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/2.804, allocations: 23.66 kB / 1.177 GB, free: 102.6 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/2.804, allocations: 0 / 1.177 GB, free: 102.6 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.854e-05/2.804, allocations: 326.8 kB / 1.178 GB, free: 102.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.308e-05/2.804, allocations: 15.98 kB / 1.178 GB, free: 102.3 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.382e-05/2.804, allocations: 55.39 kB / 1.178 GB, free: 102.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.141e-05/2.805, allocations: 28.06 kB / 1.178 GB, free: 102.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/2.805, allocations: 0 / 1.178 GB, free: 102.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001845/2.805, allocations: 117.4 kB / 1.178 GB, free: 102.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/2.805, allocations: 8 kB / 1.178 GB, free: 102.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/2.805, allocations: 0 / 1.178 GB, free: 102.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/2.805, allocations: 0 / 1.178 GB, free: 102.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.301e-05/2.805, allocations: 18.44 kB / 1.178 GB, free: 102.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/2.805, allocations: 7.938 kB / 1.178 GB, free: 102.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.158e-05/2.805, allocations: 4 kB / 1.178 GB, free: 102 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/2.805, allocations: 4 kB / 1.178 GB, free: 102 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.611e-05/2.805, allocations: 117 kB / 1.178 GB, free: 101.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.055e-05/2.805, allocations: 7.906 kB / 1.178 GB, free: 101.9 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/2.805, allocations: 125.9 kB / 1.178 GB, free: 101.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/2.805, allocations: 4 kB / 1.178 GB, free: 101.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/2.805, allocations: 0 / 1.178 GB, free: 101.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/2.805, allocations: 3.953 kB / 1.178 GB, free: 101.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/2.805, allocations: 181.6 kB / 1.178 GB, free: 101.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/2.805, allocations: 0 / 1.178 GB, free: 101.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.347e-05/2.806, allocations: 15.98 kB / 1.178 GB, free: 101.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/2.806, allocations: 0 / 1.178 GB, free: 101.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/2.806, allocations: 8 kB / 1.178 GB, free: 101.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/2.806, allocations: 0 / 1.178 GB, free: 101.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/2.806, allocations: 0 / 1.178 GB, free: 101.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/2.806, allocations: 177.6 kB / 1.178 GB, free: 101.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.876e-05/2.806, allocations: 97.03 kB / 1.179 GB, free: 101.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/2.806, allocations: 3.984 kB / 1.179 GB, free: 101.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.588e-05/2.806, allocations: 8.062 kB / 1.179 GB, free: 101.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/2.806, allocations: 11.95 kB / 1.179 GB, free: 101.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/2.806, allocations: 7.984 kB / 1.179 GB, free: 101.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.311e-05/2.806, allocations: 107.3 kB / 1.179 GB, free: 101.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/2.806, allocations: 0 / 1.179 GB, free: 101.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009378/2.807, allocations: 207.8 kB / 1.179 GB, free: 100.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.001975/2.809, allocations: 0.8177 MB / 1.18 GB, free: 100.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001577/2.809, allocations: 55.92 kB / 1.18 GB, free: 100 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/2.809, allocations: 4.125 kB / 1.18 GB, free: 100 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.073e-05/2.809, allocations: 27.98 kB / 1.18 GB, free: 99.97 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/2.81, allocations: 15.98 kB / 1.18 GB, free: 99.95 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004795/2.81, allocations: 253.4 kB / 1.18 GB, free: 99.68 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/2.81, allocations: 0.6887 MB / 1.181 GB, free: 98.96 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.584e-05/2.81, allocations: 15.94 kB / 1.181 GB, free: 98.95 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.226e-05/2.81, allocations: 19.98 kB / 1.181 GB, free: 98.93 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/2.811, allocations: 0 / 1.181 GB, free: 98.93 MB / 458.7 MB Notification: Performance of Templates: time 0.01702/2.828, allocations: 13.42 MB / 1.194 GB, free: 85.52 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