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_T.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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002222/0.002222, allocations: 179.4 kB / 8.364 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.062/2.062, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001125/0.001125, allocations: 88.88 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.104e-05/2.112e-05, allocations: 4 kB / 314.8 MB, free: 9.176 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3594, allocations: 47.57 MB / 362.3 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.657/2.017, allocations: 0.5809 GB / 0.9348 GB, free: 51.67 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/2.017, allocations: 77.52 kB / 0.9348 GB, free: 51.63 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1555/2.173, allocations: 41.08 MB / 0.975 GB, free: 16.8 MB / 427.1 MB Notification: Performance of FrontEnd: time 3.076e-06/2.173, allocations: 4 kB / 0.975 GB, free: 16.8 MB / 427.1 MB Notification: Performance of Transformations before backend: time 6.852e-06/2.173, allocations: 4 kB / 0.975 GB, free: 16.79 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.0006771/2.173, allocations: 439.9 kB / 0.9754 GB, free: 16.32 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/2.173, allocations: 12.03 kB / 0.9754 GB, free: 16.31 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/2.175, allocations: 83.88 kB / 0.9755 GB, free: 16.23 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/2.175, allocations: 195 kB / 0.9757 GB, free: 16 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/2.175, allocations: 0 / 0.9757 GB, free: 16 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/2.175, allocations: 7.891 kB / 0.9757 GB, free: 15.99 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001156/2.175, allocations: 31.98 kB / 0.9757 GB, free: 15.96 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/2.175, allocations: 71.31 kB / 0.9758 GB, free: 15.88 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/2.175, allocations: 0 / 0.9758 GB, free: 15.88 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/2.175, allocations: 0 / 0.9758 GB, free: 15.88 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/2.176, allocations: 4 kB / 0.9758 GB, free: 15.87 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002169/2.176, allocations: 161.9 kB / 0.9759 GB, free: 15.68 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004032/2.176, allocations: 97.11 kB / 0.976 GB, free: 15.56 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.254e-05/2.176, allocations: 32.02 kB / 0.9761 GB, free: 15.53 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009043/2.177, allocations: 1.377 MB / 0.9774 GB, free: 13.86 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/2.177, allocations: 30.56 kB / 0.9774 GB, free: 13.82 MB / 427.1 MB Notification: Performance of pre-optimization done (n=6): time 2.155e-06/2.177, allocations: 0 / 0.9774 GB, free: 13.82 MB / 427.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008921/2.178, allocations: 153.5 kB / 0.9776 GB, free: 13.66 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/2.178, allocations: 81.11 kB / 0.9777 GB, free: 13.56 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/2.178, allocations: 117 kB / 0.9778 GB, free: 13.44 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/2.178, allocations: 25.7 kB / 0.9778 GB, free: 13.41 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.54e-05/2.178, allocations: 158.6 kB / 0.9779 GB, free: 13.25 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/2.178, allocations: 23.64 kB / 0.978 GB, free: 13.23 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-06/2.178, allocations: 0 / 0.978 GB, free: 13.23 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 6.23e-05/2.179, allocations: 314.8 kB / 0.9783 GB, free: 12.91 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.871e-05/2.179, allocations: 16 kB / 0.9783 GB, free: 12.9 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.589e-05/2.179, allocations: 51.41 kB / 0.9783 GB, free: 12.84 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006366/2.179, allocations: 91.89 kB / 0.9784 GB, free: 12.75 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/2.179, allocations: 3.953 kB / 0.9784 GB, free: 12.74 MB / 427.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007533/2.18, allocations: 165.4 kB / 0.9786 GB, free: 12.57 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/2.18, allocations: 4 kB / 0.9786 GB, free: 12.57 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.038e-06/2.18, allocations: 12 kB / 0.9786 GB, free: 12.56 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.854e-05/2.18, allocations: 4 kB / 0.9786 GB, free: 12.55 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/2.18, allocations: 15.98 kB / 0.9786 GB, free: 12.54 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/2.18, allocations: 0 / 0.9786 GB, free: 12.54 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002711/2.181, allocations: 8.922 kB / 0.9786 GB, free: 12.53 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/2.181, allocations: 4 kB / 0.9786 GB, free: 12.53 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 7.85e-05/2.181, allocations: 101 kB / 0.9787 GB, free: 12.42 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.905e-05/2.181, allocations: 11.86 kB / 0.9787 GB, free: 12.41 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009599/2.182, allocations: 197.6 kB / 0.9789 GB, free: 12.21 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/2.182, allocations: 3.938 kB / 0.9789 GB, free: 12.21 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/2.182, allocations: 0 / 0.9789 GB, free: 12.21 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/2.182, allocations: 288 / 0.9789 GB, free: 12.21 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/2.182, allocations: 155.6 kB / 0.9791 GB, free: 12.02 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/2.182, allocations: 4 kB / 0.9791 GB, free: 12.02 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/2.182, allocations: 13.02 kB / 0.9791 GB, free: 12.01 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.747e-06/2.182, allocations: 11.94 kB / 0.9791 GB, free: 12 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/2.182, allocations: 4 kB / 0.9791 GB, free: 11.99 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/2.182, allocations: 0 / 0.9791 GB, free: 11.99 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/2.182, allocations: 0 / 0.9791 GB, free: 11.99 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009076/2.183, allocations: 211.5 kB / 0.9793 GB, free: 11.76 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/2.184, allocations: 101 kB / 0.9794 GB, free: 11.64 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/2.184, allocations: 3.938 kB / 0.9794 GB, free: 11.64 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/2.184, allocations: 8.062 kB / 0.9794 GB, free: 11.63 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/2.184, allocations: 7.984 kB / 0.9794 GB, free: 11.62 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/2.184, allocations: 3.984 kB / 0.9794 GB, free: 11.62 MB / 427.1 MB Notification: Performance of sorting global known variables: time 9.027e-05/2.184, allocations: 104.8 kB / 0.9795 GB, free: 11.52 MB / 427.1 MB Notification: Performance of sort global known variables: time 3.91e-07/2.184, allocations: 0 / 0.9795 GB, free: 11.52 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0009367/2.185, allocations: 211.7 kB / 0.9797 GB, free: 11.31 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.001941/2.187, allocations: 0.9072 MB / 0.9806 GB, free: 10.41 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.0002368/2.187, allocations: 39.98 kB / 0.9806 GB, free: 10.37 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/2.187, allocations: 0 / 0.9806 GB, free: 10.37 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 6.907e-05/2.187, allocations: 31.86 kB / 0.9807 GB, free: 10.34 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/2.188, allocations: 14.19 kB / 0.9807 GB, free: 10.33 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006747/2.188, allocations: 251 kB / 0.9809 GB, free: 10.04 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/2.188, allocations: 0.6924 MB / 0.9816 GB, free: 9.324 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/2.189, allocations: 31.34 kB / 0.9816 GB, free: 9.293 MB / 427.1 MB Notification: Performance of SimCode: time 1.422e-06/2.189, allocations: 0 / 0.9816 GB, free: 9.293 MB / 427.1 MB Notification: Performance of Templates: time 0.01506/2.204, allocations: 6.674 MB / 0.9882 GB, free: 2.617 MB / 427.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_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_T/Inverse_sh_T.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches