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.001554/0.001554, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.941/1.941, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001134/0.001134, allocations: 96.36 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000408/0.000408, allocations: 12 kB / 327 MB, free: 212 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3326, allocations: 47.57 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.582/1.914, allocations: 0.5935 GB / 0.9593 GB, free: 4.488 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/1.915, allocations: 85.83 kB / 0.9593 GB, free: 4.441 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4181/2.333, allocations: 41.8 MB / 1 GB, free: 140.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.194e-06/2.333, allocations: 0 / 1 GB, free: 140.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.787e-06/2.333, allocations: 0 / 1 GB, free: 140.2 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.0008729/2.334, allocations: 466.8 kB / 1.001 GB, free: 139.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/2.334, allocations: 8.031 kB / 1.001 GB, free: 139.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001677/2.335, allocations: 95.77 kB / 1.001 GB, free: 139.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/2.336, allocations: 215 kB / 1.001 GB, free: 139.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/2.336, allocations: 4 kB / 1.001 GB, free: 139.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.303e-05/2.336, allocations: 4 kB / 1.001 GB, free: 139.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/2.336, allocations: 103.2 kB / 1.001 GB, free: 139.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/2.336, allocations: 0 / 1.001 GB, free: 139.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/2.336, allocations: 0 / 1.001 GB, free: 139.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/2.336, allocations: 0 / 1.001 GB, free: 139.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000279/2.337, allocations: 43.95 kB / 1.001 GB, free: 139.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002816/2.337, allocations: 210.9 kB / 1.001 GB, free: 139 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007032/2.338, allocations: 125.2 kB / 1.001 GB, free: 138.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008666/2.338, allocations: 1.375 MB / 1.003 GB, free: 137.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/2.339, allocations: 34.5 kB / 1.003 GB, free: 137.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 3.316e-06/2.339, allocations: 0 / 1.003 GB, free: 137.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007618/2.339, allocations: 137.5 kB / 1.003 GB, free: 137 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/2.339, allocations: 85 kB / 1.003 GB, free: 136.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/2.34, allocations: 148.9 kB / 1.003 GB, free: 136.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/2.34, allocations: 25.7 kB / 1.003 GB, free: 136.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.649e-05/2.34, allocations: 162.5 kB / 1.003 GB, free: 136.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.702e-05/2.34, allocations: 27.64 kB / 1.003 GB, free: 136.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.569e-05/2.34, allocations: 0 / 1.003 GB, free: 136.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.777e-05/2.34, allocations: 314.8 kB / 1.004 GB, free: 136.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/2.34, allocations: 27.98 kB / 1.004 GB, free: 136.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/2.34, allocations: 51.41 kB / 1.004 GB, free: 136.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/2.34, allocations: 31.97 kB / 1.004 GB, free: 136.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/2.34, allocations: 0 / 1.004 GB, free: 136.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004769/2.341, allocations: 121.5 kB / 1.004 GB, free: 135.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/2.341, allocations: 4 kB / 1.004 GB, free: 135.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/2.341, allocations: 4 kB / 1.004 GB, free: 135.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/2.341, allocations: 0 / 1.004 GB, free: 135.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/2.341, allocations: 23.97 kB / 1.004 GB, free: 135.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/2.341, allocations: 0 / 1.004 GB, free: 135.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003262/2.342, allocations: 15.84 kB / 1.004 GB, free: 135.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/2.342, allocations: 8 kB / 1.004 GB, free: 135.9 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 8.535e-05/2.342, allocations: 125.7 kB / 1.004 GB, free: 135.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.696e-05/2.342, allocations: 8.5 kB / 1.004 GB, free: 135.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007466/2.343, allocations: 237.1 kB / 1.004 GB, free: 135.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/2.343, allocations: 0 / 1.004 GB, free: 135.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/2.343, allocations: 0 / 1.004 GB, free: 135.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/2.343, allocations: 0 / 1.004 GB, free: 135.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/2.343, allocations: 219 kB / 1.004 GB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/2.343, allocations: 64 / 1.004 GB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/2.343, allocations: 27.97 kB / 1.004 GB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/2.343, allocations: 4 kB / 1.004 GB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/2.343, allocations: 3.984 kB / 1.004 GB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/2.343, allocations: 0 / 1.004 GB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/2.343, allocations: 0 / 1.004 GB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000601/2.344, allocations: 203.8 kB / 1.005 GB, free: 135 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.645e-05/2.344, allocations: 89.12 kB / 1.005 GB, free: 134.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.43e-05/2.344, allocations: 0 / 1.005 GB, free: 134.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003138/2.344, allocations: 7.984 kB / 1.005 GB, free: 134.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.787e-05/2.344, allocations: 7.984 kB / 1.005 GB, free: 134.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/2.344, allocations: 15.89 kB / 1.005 GB, free: 134.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002357/2.345, allocations: 131.3 kB / 1.005 GB, free: 134.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-07/2.345, allocations: 0 / 1.005 GB, free: 134.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001016/2.346, allocations: 231.7 kB / 1.005 GB, free: 134.5 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.001718/2.347, allocations: 0.8172 MB / 1.006 GB, free: 133.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004476/2.348, allocations: 75.88 kB / 1.006 GB, free: 133.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/2.348, allocations: 0 / 1.006 GB, free: 133.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001848/2.348, allocations: 43.91 kB / 1.006 GB, free: 133.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/2.348, allocations: 11.94 kB / 1.006 GB, free: 133.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006906/2.349, allocations: 395.6 kB / 1.006 GB, free: 133.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/2.349, allocations: 0.6965 MB / 1.007 GB, free: 132.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/2.349, allocations: 43.39 kB / 1.007 GB, free: 132.3 MB / 426.7 MB Notification: Performance of SimCode: time 7.81e-07/2.349, allocations: 0 / 1.007 GB, free: 132.3 MB / 426.7 MB Notification: Performance of Templates: time 0.01447/2.364, allocations: 7.563 MB / 1.015 GB, free: 124.8 MB / 426.7 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