Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002107/0.002107, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.132/2.132, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 82.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.559e-05/2.576e-05, allocations: 4 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09395/0.094, allocations: 47.58 MB / 369.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.411/2.505, allocations: 0.7479 GB / 1.108 GB, free: 72.62 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/2.505, allocations: 72.56 kB / 1.108 GB, free: 72.58 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5615/3.067, allocations: 78.08 MB / 1.185 GB, free: 123.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.693e-06/3.067, allocations: 0 / 1.185 GB, free: 123.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.666e-06/3.067, allocations: 1.156 kB / 1.185 GB, free: 123.5 MB / 426.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.001031/3.068, allocations: 467.5 kB / 1.185 GB, free: 123.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/3.068, allocations: 10.09 kB / 1.185 GB, free: 123.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004036/3.068, allocations: 43.45 kB / 1.185 GB, free: 123.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/3.068, allocations: 191.1 kB / 1.185 GB, free: 123 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/3.068, allocations: 4.594 kB / 1.185 GB, free: 123 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/3.069, allocations: 2.125 kB / 1.185 GB, free: 123 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/3.069, allocations: 73.14 kB / 1.185 GB, free: 122.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/3.069, allocations: 2.062 kB / 1.185 GB, free: 122.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/3.069, allocations: 0 / 1.185 GB, free: 122.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/3.069, allocations: 1.156 kB / 1.185 GB, free: 122.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/3.069, allocations: 49.59 kB / 1.185 GB, free: 122.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002512/3.069, allocations: 192 kB / 1.186 GB, free: 122.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004413/3.07, allocations: 115.2 kB / 1.186 GB, free: 122.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/3.07, allocations: 37.27 kB / 1.186 GB, free: 122.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006399/3.07, allocations: 141.2 kB / 1.186 GB, free: 122.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/3.07, allocations: 32.34 kB / 1.186 GB, free: 122.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/3.07, allocations: 1 kB / 1.186 GB, free: 122.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003557/3.071, allocations: 95.66 kB / 1.186 GB, free: 122.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/3.071, allocations: 82.39 kB / 1.186 GB, free: 122.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/3.071, allocations: 127.3 kB / 1.186 GB, free: 122.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/3.071, allocations: 30.86 kB / 1.186 GB, free: 122.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.763e-05/3.071, allocations: 150.6 kB / 1.186 GB, free: 122.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.472e-05/3.071, allocations: 21.75 kB / 1.186 GB, free: 122.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.914e-06/3.071, allocations: 1.312 kB / 1.186 GB, free: 122.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.971e-05/3.071, allocations: 317 kB / 1.187 GB, free: 121.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.932e-05/3.071, allocations: 24.08 kB / 1.187 GB, free: 121.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.245e-05/3.071, allocations: 56.02 kB / 1.187 GB, free: 121.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.423e-05/3.072, allocations: 27.8 kB / 1.187 GB, free: 121.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/3.072, allocations: 0 / 1.187 GB, free: 121.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002643/3.072, allocations: 102.9 kB / 1.187 GB, free: 121.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/3.072, allocations: 12.86 kB / 1.187 GB, free: 121.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/3.072, allocations: 1.062 kB / 1.187 GB, free: 121.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/3.072, allocations: 2.375 kB / 1.187 GB, free: 121.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/3.072, allocations: 18.23 kB / 1.187 GB, free: 121.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/3.072, allocations: 2.094 kB / 1.187 GB, free: 121.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.232e-05/3.072, allocations: 11.5 kB / 1.187 GB, free: 121.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.918e-05/3.072, allocations: 6.375 kB / 1.187 GB, free: 121.7 MB / 426.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.991e-05/3.072, allocations: 105.1 kB / 1.187 GB, free: 121.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.909e-05/3.072, allocations: 11.98 kB / 1.187 GB, free: 121.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003702/3.073, allocations: 131.3 kB / 1.187 GB, free: 121.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/3.073, allocations: 1.031 kB / 1.187 GB, free: 121.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/3.073, allocations: 1.062 kB / 1.187 GB, free: 121.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/3.073, allocations: 2.422 kB / 1.187 GB, free: 121.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/3.073, allocations: 184.9 kB / 1.187 GB, free: 121.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/3.073, allocations: 1.609 kB / 1.187 GB, free: 121.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/3.073, allocations: 16.09 kB / 1.187 GB, free: 121.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/3.073, allocations: 1.062 kB / 1.187 GB, free: 121.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/3.073, allocations: 8.656 kB / 1.187 GB, free: 121.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/3.073, allocations: 3.953 kB / 1.187 GB, free: 121.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/3.073, allocations: 1.453 kB / 1.187 GB, free: 121.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000439/3.074, allocations: 171.1 kB / 1.188 GB, free: 121.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.789e-05/3.074, allocations: 99.22 kB / 1.188 GB, free: 121.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/3.074, allocations: 7.781 kB / 1.188 GB, free: 121.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.953e-05/3.074, allocations: 10.59 kB / 1.188 GB, free: 121.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.721e-05/3.074, allocations: 7.812 kB / 1.188 GB, free: 121.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/3.074, allocations: 5.75 kB / 1.188 GB, free: 121.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.68e-05/3.074, allocations: 111.7 kB / 1.188 GB, free: 121.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.71e-07/3.074, allocations: 0 / 1.188 GB, free: 121.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001305/3.075, allocations: 268.2 kB / 1.188 GB, free: 121.1 MB / 426.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.002576/3.078, allocations: 0.9464 MB / 1.189 GB, free: 120.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002563/3.078, allocations: 57.67 kB / 1.189 GB, free: 120.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/3.078, allocations: 0.6562 kB / 1.189 GB, free: 120.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.641e-05/3.078, allocations: 32.62 kB / 1.189 GB, free: 120.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/3.079, allocations: 24.69 kB / 1.189 GB, free: 120.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005692/3.079, allocations: 259.5 kB / 1.189 GB, free: 120.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001644/3.08, allocations: 0.6957 MB / 1.19 GB, free: 120.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.339e-05/3.08, allocations: 16.06 kB / 1.19 GB, free: 120.1 MB / 426.7 MB Notification: Performance of SimCode: time 6.91e-07/3.08, allocations: 0 / 1.19 GB, free: 120.1 MB / 426.7 MB Notification: Performance of Templates: time 0.02109/3.101, allocations: 8.057 MB / 1.198 GB, free: 119.4 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches