Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001231/0.001231, allocations: 172.4 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.831/1.831, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.001143/0.001143, allocations: 86.64 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.409e-05/3.413e-05, allocations: 4 kB / 322.4 MB, free: 17.37 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1169, allocations: 47.58 MB / 370 MB, free: 1.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.05/2.167, allocations: 0.7478 GB / 1.109 GB, free: 86.46 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003168/2.167, allocations: 76.52 kB / 1.109 GB, free: 86.39 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1518/2.319, allocations: 78.09 MB / 1.186 GB, free: 7.328 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.102e-06/2.319, allocations: 3.938 kB / 1.186 GB, free: 7.324 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.644e-06/2.319, allocations: 0 / 1.186 GB, free: 7.324 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.0008133/2.32, allocations: 466.6 kB / 1.186 GB, free: 6.824 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/2.32, allocations: 12.03 kB / 1.186 GB, free: 6.812 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003058/2.32, allocations: 43.84 kB / 1.186 GB, free: 6.77 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/2.32, allocations: 187 kB / 1.186 GB, free: 6.547 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/2.32, allocations: 4 kB / 1.186 GB, free: 6.543 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/2.32, allocations: 0 / 1.186 GB, free: 6.543 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/2.321, allocations: 79.31 kB / 1.186 GB, free: 6.453 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/2.321, allocations: 0 / 1.186 GB, free: 6.453 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/2.321, allocations: 0 / 1.186 GB, free: 6.453 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/2.321, allocations: 0 / 1.186 GB, free: 6.453 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.395e-05/2.321, allocations: 39.95 kB / 1.186 GB, free: 6.414 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/2.321, allocations: 206.5 kB / 1.187 GB, free: 6.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/2.321, allocations: 109.2 kB / 1.187 GB, free: 6.035 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.361e-05/2.321, allocations: 37.84 kB / 1.187 GB, free: 5.992 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003784/2.322, allocations: 141 kB / 1.187 GB, free: 5.836 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/2.322, allocations: 30.56 kB / 1.187 GB, free: 5.797 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/2.322, allocations: 0 / 1.187 GB, free: 5.797 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002831/2.322, allocations: 97.52 kB / 1.187 GB, free: 5.695 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/2.322, allocations: 85.11 kB / 1.187 GB, free: 5.594 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/2.322, allocations: 129 kB / 1.187 GB, free: 5.461 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/2.322, allocations: 25.7 kB / 1.187 GB, free: 5.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.3e-05/2.322, allocations: 84.14 kB / 1.187 GB, free: 5.344 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.95e-05/2.322, allocations: 27.64 kB / 1.187 GB, free: 5.316 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/2.322, allocations: 0 / 1.187 GB, free: 5.316 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.281e-05/2.322, allocations: 318.8 kB / 1.188 GB, free: 4.996 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.066e-05/2.322, allocations: 27.91 kB / 1.188 GB, free: 4.969 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.223e-05/2.322, allocations: 51.41 kB / 1.188 GB, free: 4.906 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.106e-05/2.323, allocations: 27.97 kB / 1.188 GB, free: 4.879 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/2.323, allocations: 3.953 kB / 1.188 GB, free: 4.875 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001752/2.323, allocations: 105.5 kB / 1.188 GB, free: 4.766 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/2.323, allocations: 8 kB / 1.188 GB, free: 4.758 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/2.323, allocations: 0 / 1.188 GB, free: 4.758 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/2.323, allocations: 64 / 1.188 GB, free: 4.758 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.443e-05/2.323, allocations: 27.92 kB / 1.188 GB, free: 4.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/2.323, allocations: 0 / 1.188 GB, free: 4.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.82e-05/2.323, allocations: 7.938 kB / 1.188 GB, free: 4.723 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/2.323, allocations: 4 kB / 1.188 GB, free: 4.719 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 6.087e-05/2.323, allocations: 113 kB / 1.188 GB, free: 4.602 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.708e-05/2.323, allocations: 11.86 kB / 1.188 GB, free: 4.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002236/2.323, allocations: 122 kB / 1.188 GB, free: 4.465 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/2.323, allocations: 4 kB / 1.188 GB, free: 4.461 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/2.323, allocations: 7.984 kB / 1.188 GB, free: 4.453 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/2.323, allocations: 0 / 1.188 GB, free: 4.453 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/2.323, allocations: 173.6 kB / 1.188 GB, free: 4.234 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/2.323, allocations: 4 kB / 1.188 GB, free: 4.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.918e-05/2.324, allocations: 15.95 kB / 1.188 GB, free: 4.215 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/2.324, allocations: 4 kB / 1.188 GB, free: 4.211 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/2.324, allocations: 7.922 kB / 1.188 GB, free: 4.203 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/2.324, allocations: 0 / 1.188 GB, free: 4.203 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/2.324, allocations: 4 kB / 1.188 GB, free: 4.199 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/2.324, allocations: 171.5 kB / 1.188 GB, free: 4.004 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.927e-05/2.324, allocations: 101 kB / 1.189 GB, free: 3.887 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/2.324, allocations: 3.984 kB / 1.189 GB, free: 3.883 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.444e-05/2.324, allocations: 0 / 1.189 GB, free: 3.883 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/2.324, allocations: 8.234 kB / 1.189 GB, free: 3.875 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/2.324, allocations: 7.984 kB / 1.189 GB, free: 3.867 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.265e-05/2.324, allocations: 119.2 kB / 1.189 GB, free: 3.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/2.324, allocations: 0 / 1.189 GB, free: 3.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001179/2.325, allocations: 271.6 kB / 1.189 GB, free: 3.484 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.001844/2.327, allocations: 0.9568 MB / 1.19 GB, free: 2.527 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001472/2.327, allocations: 59.91 kB / 1.19 GB, free: 2.469 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/2.327, allocations: 0 / 1.19 GB, free: 2.469 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.285e-05/2.327, allocations: 31.92 kB / 1.19 GB, free: 2.438 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/2.328, allocations: 19.94 kB / 1.19 GB, free: 2.418 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004597/2.328, allocations: 234.5 kB / 1.19 GB, free: 2.156 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/2.328, allocations: 0.6965 MB / 1.191 GB, free: 1.434 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.48e-05/2.328, allocations: 11.94 kB / 1.191 GB, free: 1.422 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.55e-05/2.328, allocations: 19.38 kB / 1.191 GB, free: 1.402 MB / 426.7 MB Notification: Performance of SimCode: time 4.21e-07/2.328, allocations: 0 / 1.191 GB, free: 1.402 MB / 426.7 MB Notification: Performance of Templates: time 0.2969/2.625, allocations: 14.78 MB / 1.205 GB, free: 123.8 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins/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_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches