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.001466/0.001465, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.097/2.097, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001134/0.001134, allocations: 97.2 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.989e-05/1.995e-05, allocations: 0 / 314.8 MB, free: 9.156 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3547, allocations: 47.57 MB / 362.3 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.266/2.621, allocations: 0.7472 GB / 1.101 GB, free: 44.89 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/2.621, allocations: 73.02 kB / 1.101 GB, free: 44.85 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.5672/3.188, allocations: 76.98 MB / 1.176 GB, free: 140.2 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.443e-06/3.188, allocations: 0 / 1.176 GB, free: 140.2 MB / 427.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/3.188, allocations: 0 / 1.176 GB, free: 140.2 MB / 427.1 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.001058/3.189, allocations: 471.3 kB / 1.177 GB, free: 139.8 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/3.19, allocations: 9.312 kB / 1.177 GB, free: 139.8 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003825/3.19, allocations: 39.11 kB / 1.177 GB, free: 139.8 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/3.19, allocations: 201.7 kB / 1.177 GB, free: 139.6 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/3.19, allocations: 0 / 1.177 GB, free: 139.6 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/3.19, allocations: 3.375 kB / 1.177 GB, free: 139.6 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001375/3.19, allocations: 46.83 kB / 1.177 GB, free: 139.5 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/3.191, allocations: 69.28 kB / 1.177 GB, free: 139.5 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/3.191, allocations: 0 / 1.177 GB, free: 139.5 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/3.191, allocations: 7.047 kB / 1.177 GB, free: 139.5 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/3.191, allocations: 0 / 1.177 GB, free: 139.5 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002176/3.191, allocations: 166 kB / 1.177 GB, free: 139.3 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003845/3.191, allocations: 121.5 kB / 1.177 GB, free: 139.3 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.888e-05/3.191, allocations: 31.12 kB / 1.177 GB, free: 139.2 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005931/3.192, allocations: 132.6 kB / 1.178 GB, free: 139.1 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/3.192, allocations: 37.47 kB / 1.178 GB, free: 139.1 MB / 427.1 MB Notification: Performance of pre-optimization done (n=6): time 1.734e-06/3.192, allocations: 1.781 kB / 1.178 GB, free: 139.1 MB / 427.1 MB Notification: Performance of matching and sorting (n=6): time 0.001167/3.193, allocations: 184.2 kB / 1.178 GB, free: 139.1 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/3.193, allocations: 77.11 kB / 1.178 GB, free: 139 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/3.193, allocations: 128.6 kB / 1.178 GB, free: 138.9 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/3.193, allocations: 25.7 kB / 1.178 GB, free: 138.8 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.073e-05/3.193, allocations: 153 kB / 1.178 GB, free: 138.7 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.997e-05/3.193, allocations: 23 kB / 1.178 GB, free: 138.7 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.585e-06/3.193, allocations: 0 / 1.178 GB, free: 138.7 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 6.756e-05/3.194, allocations: 318.1 kB / 1.178 GB, free: 138.4 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.23e-05/3.194, allocations: 23.44 kB / 1.178 GB, free: 138.3 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.757e-05/3.194, allocations: 50.34 kB / 1.179 GB, free: 138.3 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008474/3.195, allocations: 121 kB / 1.179 GB, free: 138.3 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/3.195, allocations: 0 / 1.179 GB, free: 138.3 MB / 427.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0009939/3.196, allocations: 188.6 kB / 1.179 GB, free: 138.3 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/3.196, allocations: 7.469 kB / 1.179 GB, free: 138.3 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/3.196, allocations: 4.406 kB / 1.179 GB, free: 138.3 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/3.196, allocations: 1.938 kB / 1.179 GB, free: 138.3 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/3.196, allocations: 17.06 kB / 1.179 GB, free: 138.3 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/3.196, allocations: 2.656 kB / 1.179 GB, free: 138.3 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.66e-05/3.196, allocations: 12.19 kB / 1.179 GB, free: 138.2 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/3.196, allocations: 7.172 kB / 1.179 GB, free: 138.2 MB / 427.1 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.887e-05/3.196, allocations: 108.3 kB / 1.179 GB, free: 138.1 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.557e-05/3.196, allocations: 3.344 kB / 1.179 GB, free: 138.1 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/3.197, allocations: 216.6 kB / 1.179 GB, free: 138.1 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/3.197, allocations: 0 / 1.179 GB, free: 138.1 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/3.197, allocations: 1.781 kB / 1.179 GB, free: 138.1 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/3.197, allocations: 0 / 1.179 GB, free: 138.1 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/3.197, allocations: 166 kB / 1.179 GB, free: 137.9 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/3.197, allocations: 288 / 1.179 GB, free: 137.9 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/3.198, allocations: 22.53 kB / 1.179 GB, free: 137.9 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/3.198, allocations: 1.312 kB / 1.179 GB, free: 137.9 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/3.198, allocations: 2.5 kB / 1.179 GB, free: 137.9 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/3.198, allocations: 0 / 1.179 GB, free: 137.9 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/3.198, allocations: 0 / 1.179 GB, free: 137.9 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/3.199, allocations: 269.6 kB / 1.18 GB, free: 137.8 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.832e-05/3.199, allocations: 105 kB / 1.18 GB, free: 137.7 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/3.199, allocations: 2.125 kB / 1.18 GB, free: 137.7 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.8e-05/3.199, allocations: 2.719 kB / 1.18 GB, free: 137.7 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.691e-05/3.199, allocations: 6.469 kB / 1.18 GB, free: 137.7 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/3.2, allocations: 6.125 kB / 1.18 GB, free: 137.7 MB / 427.1 MB Notification: Performance of sorting global known variables: time 8.362e-05/3.2, allocations: 111.2 kB / 1.18 GB, free: 137.6 MB / 427.1 MB Notification: Performance of sort global known variables: time 4.41e-07/3.2, allocations: 0 / 1.18 GB, free: 137.6 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.001255/3.201, allocations: 255.5 kB / 1.18 GB, free: 137.5 MB / 427.1 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.002511/3.203, allocations: 1.056 MB / 1.181 GB, free: 137.2 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.0002078/3.204, allocations: 56.17 kB / 1.181 GB, free: 137.2 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/3.204, allocations: 0 / 1.181 GB, free: 137.2 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 5.998e-05/3.204, allocations: 26.94 kB / 1.181 GB, free: 137.2 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/3.204, allocations: 25.22 kB / 1.181 GB, free: 137.2 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005512/3.205, allocations: 263.2 kB / 1.181 GB, free: 137 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001701/3.205, allocations: 0.6961 MB / 1.182 GB, free: 136.3 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.298e-05/3.205, allocations: 17.66 kB / 1.182 GB, free: 136.3 MB / 427.1 MB Notification: Performance of SimCode: time 6.52e-07/3.205, allocations: 0 / 1.182 GB, free: 136.3 MB / 427.1 MB Notification: Performance of Templates: time 0.01788/3.223, allocations: 8.068 MB / 1.19 GB, free: 132.8 MB / 427.1 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