Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002118/0.002118, allocations: 199.6 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 3.125/3.125, allocations: 226.5 MB / 245.4 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001524/0.001524, allocations: 98.25 kB / 297.4 MB, free: 6.883 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005618/0.0005621, allocations: 8 kB / 357.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6327/0.6334, allocations: 51.29 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.31/3.944, allocations: 0.7158 GB / 1.115 GB, free: 86.89 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003863/3.944, allocations: 77.23 kB / 1.115 GB, free: 86.82 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2368/4.181, allocations: 68.33 MB / 1.182 GB, free: 17.52 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.058e-06/4.181, allocations: 0 / 1.182 GB, free: 17.52 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.567e-05/4.181, allocations: 4 kB / 1.182 GB, free: 17.52 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.001302/4.182, allocations: 462.9 kB / 1.182 GB, free: 17.02 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.612e-05/4.183, allocations: 12.03 kB / 1.182 GB, free: 17 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005367/4.183, allocations: 56.77 kB / 1.182 GB, free: 16.95 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/4.183, allocations: 192.3 kB / 1.182 GB, free: 16.72 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/4.183, allocations: 4.375 kB / 1.182 GB, free: 16.72 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.669e-05/4.183, allocations: 4.281 kB / 1.182 GB, free: 16.71 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/4.184, allocations: 79.86 kB / 1.182 GB, free: 16.62 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/4.184, allocations: 192 / 1.182 GB, free: 16.62 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/4.184, allocations: 11.94 kB / 1.182 GB, free: 16.61 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/4.184, allocations: 0 / 1.182 GB, free: 16.61 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/4.184, allocations: 43.95 kB / 1.182 GB, free: 16.57 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000284/4.184, allocations: 194.5 kB / 1.183 GB, free: 16.33 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004566/4.185, allocations: 121 kB / 1.183 GB, free: 16.19 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/4.185, allocations: 41.75 kB / 1.183 GB, free: 16.14 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005658/4.185, allocations: 218.1 kB / 1.183 GB, free: 15.89 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/4.185, allocations: 42.48 kB / 1.183 GB, free: 15.84 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.824e-06/4.185, allocations: 0 / 1.183 GB, free: 15.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008137/4.186, allocations: 149.7 kB / 1.183 GB, free: 15.69 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/4.186, allocations: 77.11 kB / 1.183 GB, free: 15.6 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/4.186, allocations: 133.8 kB / 1.183 GB, free: 15.46 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/4.187, allocations: 29.7 kB / 1.183 GB, free: 15.42 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.403e-05/4.187, allocations: 88.14 kB / 1.184 GB, free: 15.33 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.833e-05/4.187, allocations: 11.81 kB / 1.184 GB, free: 15.32 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.884e-06/4.187, allocations: 4 kB / 1.184 GB, free: 15.32 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.124e-05/4.187, allocations: 318.8 kB / 1.184 GB, free: 15 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.712e-05/4.187, allocations: 27.97 kB / 1.184 GB, free: 14.97 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/4.187, allocations: 55.39 kB / 1.184 GB, free: 14.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/4.187, allocations: 87.36 kB / 1.184 GB, free: 14.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/4.187, allocations: 3.984 kB / 1.184 GB, free: 14.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003554/4.188, allocations: 113.4 kB / 1.184 GB, free: 14.68 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/4.188, allocations: 4 kB / 1.184 GB, free: 14.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/4.188, allocations: 7.938 kB / 1.184 GB, free: 14.67 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-05/4.188, allocations: 0 / 1.184 GB, free: 14.67 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/4.188, allocations: 19.92 kB / 1.184 GB, free: 14.65 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/4.188, allocations: 4 kB / 1.184 GB, free: 14.65 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.764e-05/4.188, allocations: 11.84 kB / 1.184 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/4.188, allocations: 20.05 kB / 1.184 GB, free: 14.62 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 0.0001025/4.188, allocations: 113.8 kB / 1.184 GB, free: 14.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.189e-05/4.188, allocations: 4 kB / 1.184 GB, free: 14.49 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003971/4.189, allocations: 125.4 kB / 1.184 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/4.189, allocations: 0 / 1.184 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/4.189, allocations: 4 kB / 1.184 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/4.189, allocations: 3.984 kB / 1.184 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/4.189, allocations: 181.5 kB / 1.185 GB, free: 14.13 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/4.189, allocations: 4 kB / 1.185 GB, free: 14.12 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/4.189, allocations: 19.88 kB / 1.185 GB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/4.189, allocations: 0 / 1.185 GB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/4.189, allocations: 3.938 kB / 1.185 GB, free: 14.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/4.189, allocations: 7.984 kB / 1.185 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/4.189, allocations: 0 / 1.185 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005503/4.19, allocations: 165.8 kB / 1.185 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/4.19, allocations: 97.11 kB / 1.185 GB, free: 13.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/4.19, allocations: 3.938 kB / 1.185 GB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.285e-05/4.19, allocations: 4 kB / 1.185 GB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.934e-05/4.19, allocations: 7.984 kB / 1.185 GB, free: 13.78 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.889e-05/4.19, allocations: 8 kB / 1.185 GB, free: 13.77 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001079/4.19, allocations: 111.6 kB / 1.185 GB, free: 13.66 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.713e-06/4.19, allocations: 0 / 1.185 GB, free: 13.66 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001713/4.192, allocations: 219.7 kB / 1.185 GB, free: 13.45 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.009826/4.202, allocations: 0.8212 MB / 1.186 GB, free: 12.64 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004686/4.202, allocations: 63.89 kB / 1.186 GB, free: 12.57 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/4.202, allocations: 0 / 1.186 GB, free: 12.57 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/4.202, allocations: 23.98 kB / 1.186 GB, free: 12.55 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005664/4.203, allocations: 31.3 kB / 1.186 GB, free: 12.52 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/4.204, allocations: 397.3 kB / 1.187 GB, free: 12.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/4.205, allocations: 0.6965 MB / 1.187 GB, free: 11.38 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.697e-05/4.205, allocations: 19.44 kB / 1.187 GB, free: 11.36 MB / 458.7 MB Notification: Performance of SimCode: time 1.723e-06/4.205, allocations: 4 kB / 1.187 GB, free: 11.35 MB / 458.7 MB Notification: Performance of Templates: time 0.02689/4.232, allocations: 6.739 MB / 1.194 GB, free: 4.617 MB / 458.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches