Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001067/0.001067, allocations: 180 kB / 17.01 MB, free: 5.125 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.68/1.68, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.0009087/0.0009086, allocations: 92.92 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002711/0.0002711, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3334, allocations: 47.58 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.427/1.761, allocations: 0.5935 GB / 0.9605 GB, free: 4.238 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003323/1.761, allocations: 80.2 kB / 0.9606 GB, free: 4.195 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3815/2.143, allocations: 41.79 MB / 1.001 GB, free: 140 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.295e-06/2.143, allocations: 0 / 1.001 GB, free: 140 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.919e-06/2.143, allocations: 0 / 1.001 GB, free: 140 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.0007749/2.143, allocations: 458.9 kB / 1.002 GB, free: 139.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/2.143, allocations: 12.03 kB / 1.002 GB, free: 139.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/2.144, allocations: 99.77 kB / 1.002 GB, free: 139.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/2.145, allocations: 218.9 kB / 1.002 GB, free: 139.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/2.145, allocations: 0 / 1.002 GB, free: 139.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/2.145, allocations: 8 kB / 1.002 GB, free: 139.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/2.145, allocations: 91.27 kB / 1.002 GB, free: 139 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/2.145, allocations: 0 / 1.002 GB, free: 139 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/2.145, allocations: 8 kB / 1.002 GB, free: 139 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/2.145, allocations: 4 kB / 1.002 GB, free: 139 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/2.145, allocations: 39.95 kB / 1.002 GB, free: 139 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002311/2.145, allocations: 210.9 kB / 1.002 GB, free: 138.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000445/2.146, allocations: 125.2 kB / 1.003 GB, free: 138.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006998/2.147, allocations: 1.387 MB / 1.004 GB, free: 136.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/2.147, allocations: 30.56 kB / 1.004 GB, free: 136.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/2.147, allocations: 0 / 1.004 GB, free: 136.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.000448/2.147, allocations: 141.7 kB / 1.004 GB, free: 136.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/2.147, allocations: 81.11 kB / 1.004 GB, free: 136.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/2.147, allocations: 144.9 kB / 1.004 GB, free: 136.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/2.147, allocations: 33.7 kB / 1.004 GB, free: 136.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.991e-05/2.147, allocations: 92.12 kB / 1.004 GB, free: 136.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/2.147, allocations: 19.66 kB / 1.004 GB, free: 136.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.388e-06/2.148, allocations: 4 kB / 1.004 GB, free: 136.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.431e-05/2.148, allocations: 314.8 kB / 1.005 GB, free: 136 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.58e-05/2.148, allocations: 23.98 kB / 1.005 GB, free: 136 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.676e-05/2.148, allocations: 55.41 kB / 1.005 GB, free: 135.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/2.148, allocations: 31.97 kB / 1.005 GB, free: 135.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/2.148, allocations: 0 / 1.005 GB, free: 135.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002865/2.148, allocations: 121.4 kB / 1.005 GB, free: 135.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/2.148, allocations: 8 kB / 1.005 GB, free: 135.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/2.148, allocations: 0 / 1.005 GB, free: 135.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/2.148, allocations: 0 / 1.005 GB, free: 135.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/2.148, allocations: 28.03 kB / 1.005 GB, free: 135.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/2.148, allocations: 8.422 kB / 1.005 GB, free: 135.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/2.149, allocations: 7.984 kB / 1.005 GB, free: 135.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/2.149, allocations: 8 kB / 1.005 GB, free: 135.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 () * 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 7.339e-05/2.149, allocations: 113.8 kB / 1.005 GB, free: 135.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/2.149, allocations: 4 kB / 1.005 GB, free: 135.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005298/2.149, allocations: 245 kB / 1.005 GB, free: 135.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/2.149, allocations: 0 / 1.005 GB, free: 135.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/2.149, allocations: 0 / 1.005 GB, free: 135.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/2.149, allocations: 11.94 kB / 1.005 GB, free: 135.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/2.15, allocations: 207 kB / 1.006 GB, free: 135.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/2.15, allocations: 4 kB / 1.006 GB, free: 135.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/2.15, allocations: 23.97 kB / 1.006 GB, free: 135 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/2.15, allocations: 0 / 1.006 GB, free: 135 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/2.15, allocations: 7.984 kB / 1.006 GB, free: 135 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/2.15, allocations: 4 kB / 1.006 GB, free: 135 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/2.15, allocations: 0 / 1.006 GB, free: 135 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003716/2.15, allocations: 199.3 kB / 1.006 GB, free: 134.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.897e-05/2.15, allocations: 93.03 kB / 1.006 GB, free: 134.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.704e-05/2.15, allocations: 8.062 kB / 1.006 GB, free: 134.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/2.15, allocations: 8.047 kB / 1.006 GB, free: 134.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/2.151, allocations: 12.17 kB / 1.006 GB, free: 134.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/2.151, allocations: 8 kB / 1.006 GB, free: 134.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001361/2.151, allocations: 131.3 kB / 1.006 GB, free: 134.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/2.151, allocations: 0 / 1.006 GB, free: 134.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009839/2.152, allocations: 227.7 kB / 1.006 GB, free: 134.3 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001954/2.154, allocations: 0.8218 MB / 1.007 GB, free: 133.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002938/2.154, allocations: 75.98 kB / 1.007 GB, free: 133.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/2.154, allocations: 4 kB / 1.007 GB, free: 133.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/2.154, allocations: 39.97 kB / 1.007 GB, free: 133.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/2.154, allocations: 15.88 kB / 1.007 GB, free: 133.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006084/2.155, allocations: 365.8 kB / 1.008 GB, free: 133 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001786/2.155, allocations: 0.6926 MB / 1.008 GB, free: 132.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004687/2.156, allocations: 427 kB / 1.009 GB, free: 131.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/2.156, allocations: 47.33 kB / 1.009 GB, free: 131.8 MB / 426.7 MB Notification: Performance of SimCode: time 5.51e-07/2.156, allocations: 0 / 1.009 GB, free: 131.8 MB / 426.7 MB Notification: Performance of Templates: time 0.01663/2.172, allocations: 12.13 MB / 1.021 GB, free: 119.6 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_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_T/Inverse_sh_T.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches