Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001245/0.001246, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001278/0.001278, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 246.3 MB, free: 10.81 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 55.59 kB / 306.3 MB, free: 1 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08647/0.08833, allocations: 50.53 MB / 356.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.00248/0.09084, allocations: 1.451 MB / 358.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2997/0.3906, allocations: 149.7 MB / 0.496 GB, free: 4.598 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.141e-05/0.3907, allocations: 0 / 0.496 GB, free: 4.598 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 4.32e-05/0.3907, allocations: 7.922 kB / 0.496 GB, free: 4.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001015/0.3918, allocations: 336.4 kB / 0.4964 GB, free: 4.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.3928, allocations: 466.5 kB / 0.4968 GB, free: 3.816 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.3929, allocations: 99.55 kB / 0.4969 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.766e-05/0.393, allocations: 0 / 0.4969 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.602e-05/0.393, allocations: 35.86 kB / 0.4969 GB, free: 3.684 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.534e-05/0.3931, allocations: 35.89 kB / 0.497 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.3932, allocations: 0 / 0.497 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002068/0.3952, allocations: 1.248 MB / 0.4982 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.385e-05/0.3953, allocations: 15.92 kB / 0.4982 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.53e-05/0.3953, allocations: 27.86 kB / 0.4982 GB, free: 2.355 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.3966, allocations: 0.7716 MB / 0.499 GB, free: 1.582 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3966, allocations: 0 / 0.499 GB, free: 1.582 MB / 414.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.3966, allocations: 0 / 0.499 GB, free: 1.582 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.3966, allocations: 0 / 0.499 GB, free: 1.582 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.0006503/0.3973, allocations: 462.3 kB / 0.4994 GB, free: 1.086 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.3973, allocations: 15.97 kB / 0.4994 GB, free: 1.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004824/0.3978, allocations: 76.39 kB / 0.4995 GB, free: 1 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.398, allocations: 192.4 kB / 0.4997 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.398, allocations: 7.938 kB / 0.4997 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.398, allocations: 4 kB / 0.4997 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.3982, allocations: 75.33 kB / 0.4998 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.3982, allocations: 0 / 0.4998 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.3982, allocations: 4 kB / 0.4998 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3983, allocations: 0 / 0.4998 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.3984, allocations: 39.97 kB / 0.4998 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002256/0.3986, allocations: 190.6 kB / 0.5 GB, free: 404 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003237/0.3989, allocations: 117 kB / 0.5001 GB, free: 268 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.577e-05/0.399, allocations: 41.75 kB / 0.5002 GB, free: 220 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005233/0.3996, allocations: 133 kB / 0.5003 GB, free: 68 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.3996, allocations: 38.5 kB / 0.5003 GB, free: 20 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3996, allocations: 0 / 0.5003 GB, free: 20 kB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003939/0.4, allocations: 113.9 kB / 0.5004 GB, free: 15.9 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.4001, allocations: 85.05 kB / 0.5005 GB, free: 15.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.4002, allocations: 145.8 kB / 0.5006 GB, free: 15.65 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.4002, allocations: 25.7 kB / 0.5007 GB, free: 15.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.755e-05/0.4003, allocations: 84.14 kB / 0.5008 GB, free: 15.53 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.4003, allocations: 27.59 kB / 0.5008 GB, free: 15.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.171e-05/0.4004, allocations: 21.7 kB / 0.5008 GB, free: 15.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.4005, allocations: 318.8 kB / 0.5011 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.733e-05/0.4006, allocations: 27.97 kB / 0.5011 GB, free: 15.13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.511e-05/0.4007, allocations: 47.42 kB / 0.5012 GB, free: 15.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.4009, allocations: 87.38 kB / 0.5013 GB, free: 14.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.4009, allocations: 3.938 kB / 0.5013 GB, free: 14.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002783/0.4012, allocations: 108.4 kB / 0.5014 GB, free: 14.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.4012, allocations: 12.06 kB / 0.5014 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.4012, allocations: 0 / 0.5014 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.4012, allocations: 0 / 0.5014 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.448e-05/0.4013, allocations: 19.92 kB / 0.5014 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.4013, allocations: 4 kB / 0.5014 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.732e-05/0.4014, allocations: 0 / 0.5014 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.4014, allocations: 4 kB / 0.5014 GB, free: 14.82 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 9.369e-05/0.4015, allocations: 121.8 kB / 0.5015 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.574e-05/0.4016, allocations: 7.906 kB / 0.5015 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002561/0.4018, allocations: 116.7 kB / 0.5016 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4018, allocations: 0 / 0.5016 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.4018, allocations: 0 / 0.5016 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.4019, allocations: 0 / 0.5016 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.402, allocations: 197.5 kB / 0.5018 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.402, allocations: 0 / 0.5018 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.984e-05/0.4021, allocations: 11.94 kB / 0.5018 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.4021, allocations: 4 kB / 0.5018 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.4022, allocations: 7.922 kB / 0.5019 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.4022, allocations: 4.625 kB / 0.5019 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4022, allocations: 0 / 0.5019 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.4025, allocations: 161.8 kB / 0.502 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.501e-05/0.4026, allocations: 92.97 kB / 0.5021 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.4026, allocations: 4 kB / 0.5021 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.34e-05/0.4027, allocations: 0 / 0.5021 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.4027, allocations: 12.05 kB / 0.5021 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.984e-06/0.4027, allocations: 4 kB / 0.5021 GB, free: 13.99 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.487e-05/0.4028, allocations: 111.2 kB / 0.5022 GB, free: 13.88 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4028, allocations: 0 / 0.5022 GB, free: 13.88 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004917/0.4033, allocations: 171.8 kB / 0.5024 GB, free: 13.71 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 (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.001106/0.4044, allocations: 423 kB / 0.5028 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002066/0.4047, allocations: 71.95 kB / 0.5029 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4047, allocations: 0 / 0.5029 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.241e-05/0.4048, allocations: 28.27 kB / 0.5029 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.405, allocations: 27.91 kB / 0.5029 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005601/0.4056, allocations: 319.9 kB / 0.5032 GB, free: 12.84 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.4059, allocations: 0.6965 MB / 0.5039 GB, free: 12.11 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.011e-05/0.406, allocations: 18.16 kB / 0.5039 GB, free: 12.1 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.406, allocations: 19.42 kB / 0.5039 GB, free: 12.08 MB / 430.1 MB Notification: Performance of SimCode: time 2.61e-07/0.406, allocations: 0 / 0.5039 GB, free: 12.08 MB / 430.1 MB Notification: Performance of Templates: time 0.008997/0.415, allocations: 4.568 MB / 0.5084 GB, free: 7.523 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches