Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 103.5 kB / 16.5 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 194 kB / 17.42 MB, free: 6.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 241.1 MB, free: 15.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009725/0.0009726, allocations: 50.08 kB / 299.9 MB, free: 6.297 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07859/0.07957, allocations: 49.45 MB / 349.4 MB, free: 4.844 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002393/0.082, allocations: 1.41 MB / 350.8 MB, free: 3.418 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.2741/0.3562, allocations: 146.5 MB / 497.3 MB, free: 1.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.564e-05/0.3562, allocations: 0 / 497.3 MB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.729e-05/0.3563, allocations: 0 / 497.3 MB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007576/0.3571, allocations: 210.5 kB / 497.5 MB, free: 1.078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008689/0.3579, allocations: 332.3 kB / 497.8 MB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.119e-05/0.358, allocations: 59.66 kB / 497.9 MB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.458e-05/0.3581, allocations: 3.984 kB / 497.9 MB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.261e-05/0.3581, allocations: 19.94 kB / 497.9 MB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.333e-05/0.3582, allocations: 31.91 kB / 497.9 MB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.3582, allocations: 0 / 497.9 MB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.3593, allocations: 0.6198 MB / 498.5 MB, free: 24 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.3593, allocations: 11.98 kB / 498.6 MB, free: 12 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.88e-05/0.3594, allocations: 23.98 kB / 498.6 MB, free: 15.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008052/0.3602, allocations: 0.4924 MB / 499.1 MB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3602, allocations: 4 kB / 499.1 MB, free: 15.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.3602, allocations: 0 / 499.1 MB, free: 15.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.3602, allocations: 0 / 499.1 MB, free: 15.49 MB / 414.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.0005552/0.3608, allocations: 431.8 kB / 499.5 MB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.3608, allocations: 8.031 kB / 499.5 MB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001204/0.362, allocations: 97.8 kB / 499.6 MB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.3623, allocations: 228.8 kB / 499.8 MB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.3624, allocations: 0 / 499.8 MB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.3624, allocations: 4 kB / 499.8 MB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.3626, allocations: 87.33 kB / 499.9 MB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.078e-06/0.3626, allocations: 0 / 499.9 MB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.3627, allocations: 8 kB / 499.9 MB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.3627, allocations: 3.656 kB / 499.9 MB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/0.3629, allocations: 47.83 kB / 500 MB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002504/0.3631, allocations: 214.9 kB / 0.4885 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000475/0.3636, allocations: 129.1 kB / 0.4886 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.3638, allocations: 33.75 kB / 0.4886 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005666/0.3643, allocations: 0.9823 MB / 0.4896 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.3644, allocations: 38.55 kB / 0.4896 GB, free: 12.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.3644, allocations: 0 / 0.4896 GB, free: 12.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.000493/0.3649, allocations: 141.8 kB / 0.4897 GB, free: 12.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.3649, allocations: 81.11 kB / 0.4898 GB, free: 12.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.3651, allocations: 148.1 kB / 0.49 GB, free: 12.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.3652, allocations: 33.7 kB / 0.49 GB, free: 12.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.989e-05/0.3652, allocations: 80.14 kB / 0.4901 GB, free: 12.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.83e-05/0.3653, allocations: 23.7 kB / 0.4901 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.947e-05/0.3653, allocations: 33.69 kB / 0.4901 GB, free: 12.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.3654, allocations: 322.8 kB / 0.4904 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.3655, allocations: 27.97 kB / 0.4905 GB, free: 11.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.3657, allocations: 55.34 kB / 0.4905 GB, free: 11.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/0.3659, allocations: 80.16 kB / 0.4906 GB, free: 11.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3659, allocations: 0 / 0.4906 GB, free: 11.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000358/0.3663, allocations: 125.5 kB / 0.4907 GB, free: 11.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.3663, allocations: 4 kB / 0.4907 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.3663, allocations: 0 / 0.4907 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3663, allocations: 4 kB / 0.4907 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.3665, allocations: 23.97 kB / 0.4907 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3665, allocations: 6 kB / 0.4907 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.3667, allocations: 15.91 kB / 0.4908 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.3667, allocations: 7.984 kB / 0.4908 GB, free: 11.53 MB / 414.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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.843e-05/0.3668, allocations: 117.7 kB / 0.4909 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.786e-05/0.3669, allocations: 7.984 kB / 0.4909 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005702/0.3675, allocations: 237.9 kB / 0.4911 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.3675, allocations: 4 kB / 0.4911 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3675, allocations: 0 / 0.4911 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3675, allocations: 0 / 0.4911 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.3677, allocations: 218.9 kB / 0.4913 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.3677, allocations: 0 / 0.4913 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.3679, allocations: 27.91 kB / 0.4914 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3679, allocations: 0 / 0.4914 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.3679, allocations: 8 kB / 0.4914 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.3679, allocations: 11.81 kB / 0.4914 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.368, allocations: 0 / 0.4914 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004184/0.3684, allocations: 177.8 kB / 0.4915 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.708e-05/0.3685, allocations: 97.05 kB / 0.4916 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.93e-05/0.3685, allocations: 0 / 0.4916 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.3687, allocations: 8.062 kB / 0.4916 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.3687, allocations: 11.92 kB / 0.4917 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.3688, allocations: 4 kB / 0.4917 GB, free: 10.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001629/0.3689, allocations: 131.2 kB / 0.4918 GB, free: 10.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3689, allocations: 0 / 0.4918 GB, free: 10.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004548/0.3694, allocations: 131.9 kB / 0.4919 GB, free: 10.27 MB / 414.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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006887/0.3701, allocations: 316 kB / 0.4922 GB, free: 9.961 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002798/0.3704, allocations: 79.81 kB / 0.4923 GB, free: 9.883 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3704, allocations: 0 / 0.4923 GB, free: 9.883 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.3705, allocations: 43.86 kB / 0.4923 GB, free: 9.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.3708, allocations: 11.98 kB / 0.4923 GB, free: 9.828 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005261/0.3713, allocations: 324 kB / 0.4926 GB, free: 9.488 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.3715, allocations: 0.6926 MB / 0.4933 GB, free: 8.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005696/0.3721, allocations: 434.9 kB / 0.4937 GB, free: 8.344 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.3722, allocations: 39.39 kB / 0.4938 GB, free: 8.305 MB / 414.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3722, allocations: 0 / 0.4938 GB, free: 8.305 MB / 414.1 MB Notification: Performance of Templates: time 0.008242/0.3805, allocations: 5.057 MB / 0.4987 GB, free: 3.254 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches