Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001633/0.001633, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001883/0.001884, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.389/1.389, allocations: 227.7 MB / 247.7 MB, free: 10.32 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 69.05 kB / 307.9 MB, free: 488 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1074, allocations: 50.55 MB / 358.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002732/0.1102, allocations: 1.346 MB / 359.8 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3592/0.4694, allocations: 151.6 MB / 0.4994 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.961e-05/0.4695, allocations: 4 kB / 0.4994 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 3.122e-05/0.4696, allocations: 7.922 kB / 0.4994 GB, free: 2.062 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001002/0.4706, allocations: 246.6 kB / 0.4996 GB, free: 1.828 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.4716, allocations: 391.2 kB / 0.5 GB, free: 1.453 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000103/0.4717, allocations: 59.67 kB / 0.5001 GB, free: 1.395 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.302e-05/0.4718, allocations: 9.812 kB / 0.5001 GB, free: 1.387 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.213e-05/0.4719, allocations: 23.91 kB / 0.5001 GB, free: 1.363 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.101e-05/0.472, allocations: 27.91 kB / 0.5001 GB, free: 1.336 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.472, allocations: 0 / 0.5001 GB, free: 1.336 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001216/0.4732, allocations: 0.6356 MB / 0.5008 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.734e-05/0.4732, allocations: 4 kB / 0.5008 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.86e-05/0.4733, allocations: 31.84 kB / 0.5008 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008147/0.4741, allocations: 495 kB / 0.5013 GB, free: 184 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.4741, allocations: 0 / 0.5013 GB, free: 184 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4741, allocations: 0 / 0.5013 GB, free: 184 kB / 414.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.4742, allocations: 0 / 0.5013 GB, free: 184 kB / 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.0006578/0.4748, allocations: 431.8 kB / 0.5017 GB, free: 15.71 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.4749, allocations: 12.03 kB / 0.5017 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/0.4762, allocations: 112.7 kB / 0.5018 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.4765, allocations: 224 kB / 0.502 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.4765, allocations: 0 / 0.502 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.4766, allocations: 4 kB / 0.502 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.4768, allocations: 91.33 kB / 0.5021 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.4768, allocations: 0 / 0.5021 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.4769, allocations: 3.938 kB / 0.5021 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.4769, allocations: 7.219 kB / 0.5021 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.477, allocations: 39.95 kB / 0.5021 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002845/0.4773, allocations: 218.6 kB / 0.5024 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004953/0.4778, allocations: 133.1 kB / 0.5025 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.478, allocations: 33.7 kB / 0.5025 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007729/0.4787, allocations: 0.9862 MB / 0.5035 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.4788, allocations: 38.55 kB / 0.5035 GB, free: 13.47 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.4788, allocations: 4 kB / 0.5035 GB, free: 13.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005087/0.4793, allocations: 133.4 kB / 0.5036 GB, free: 13.33 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.4794, allocations: 77.11 kB / 0.5037 GB, free: 13.24 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.4796, allocations: 155 kB / 0.5039 GB, free: 13.08 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.4797, allocations: 29.7 kB / 0.5039 GB, free: 13.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.4797, allocations: 84.14 kB / 0.504 GB, free: 12.96 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.302e-05/0.4798, allocations: 27.64 kB / 0.504 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.219e-05/0.4798, allocations: 33.7 kB / 0.504 GB, free: 12.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.48, allocations: 318.8 kB / 0.5043 GB, free: 12.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.4801, allocations: 27.92 kB / 0.5044 GB, free: 12.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.4802, allocations: 51.41 kB / 0.5044 GB, free: 12.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.4805, allocations: 87.95 kB / 0.5045 GB, free: 12.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4805, allocations: 0 / 0.5045 GB, free: 12.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003457/0.4809, allocations: 117.6 kB / 0.5046 GB, free: 12.26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.4809, allocations: 7.984 kB / 0.5046 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.4809, allocations: 0 / 0.5046 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.4809, allocations: 4 kB / 0.5046 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.4811, allocations: 31.03 kB / 0.5046 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.4811, allocations: 13.52 kB / 0.5047 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.4813, allocations: 7.906 kB / 0.5047 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.4813, allocations: 7.984 kB / 0.5047 GB, free: 12.2 MB / 430.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 0.0001021/0.4814, allocations: 117.7 kB / 0.5048 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/0.4815, allocations: 4 kB / 0.5048 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006485/0.4821, allocations: 247.5 kB / 0.505 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.4821, allocations: 0.5156 kB / 0.505 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.4821, allocations: 4 kB / 0.505 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.4822, allocations: 0 / 0.505 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/0.4824, allocations: 215 kB / 0.5052 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.4824, allocations: 0 / 0.5052 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.4826, allocations: 27.91 kB / 0.5053 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.4826, allocations: 4 kB / 0.5053 GB, free: 11.53 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.4826, allocations: 7.984 kB / 0.5053 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4826, allocations: 0 / 0.5053 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4826, allocations: 0 / 0.5053 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004519/0.4831, allocations: 181.7 kB / 0.5054 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.291e-05/0.4832, allocations: 93.16 kB / 0.5055 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/0.4832, allocations: 0 / 0.5055 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.4834, allocations: 7.984 kB / 0.5055 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.4835, allocations: 8.859 kB / 0.5056 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.4835, allocations: 4 kB / 0.5056 GB, free: 11.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001805/0.4837, allocations: 131.2 kB / 0.5057 GB, free: 11.07 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4837, allocations: 0 / 0.5057 GB, free: 11.07 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005081/0.4842, allocations: 131.9 kB / 0.5058 GB, free: 10.94 MB / 430.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.0007649/0.485, allocations: 311.5 kB / 0.5061 GB, free: 10.63 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003166/0.4853, allocations: 96.56 kB / 0.5062 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.4853, allocations: 4 kB / 0.5062 GB, free: 10.53 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.4854, allocations: 35.92 kB / 0.5062 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.4857, allocations: 16.3 kB / 0.5062 GB, free: 10.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006416/0.4863, allocations: 334.3 kB / 0.5066 GB, free: 10.12 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.4867, allocations: 0.6901 MB / 0.5072 GB, free: 9.406 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.4868, allocations: 39.39 kB / 0.5073 GB, free: 9.367 MB / 430.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4868, allocations: 0 / 0.5073 GB, free: 9.367 MB / 430.1 MB Notification: Performance of Templates: time 0.007247/0.4941, allocations: 4.183 MB / 0.5114 GB, free: 5.188 MB / 430.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches