Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001016/0.001016, allocations: 99.03 kB / 17 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001386/0.001386, allocations: 191.2 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.7 MB / 246.4 MB, free: 9.828 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002173/0.0002173, allocations: 4 kB / 307.1 MB, free: 0.9688 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08574/0.08597, allocations: 51.53 MB / 358.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001219/0.08722, allocations: 1.076 MB / 359.7 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2882/0.3755, allocations: 137.9 MB / 497.6 MB, free: 1.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.597e-05/0.3755, allocations: 0 / 497.6 MB, free: 1.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.119e-05/0.3756, allocations: 7.922 kB / 497.6 MB, free: 1.172 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006823/0.3763, allocations: 180 kB / 497.8 MB, free: 1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007511/0.377, allocations: 286.3 kB / 498.1 MB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.427e-05/0.3771, allocations: 47.73 kB / 498.2 MB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.277e-05/0.3771, allocations: 4 kB / 498.2 MB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.871e-05/0.3772, allocations: 25.7 kB / 498.2 MB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.4e-05/0.3773, allocations: 31.84 kB / 498.2 MB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.3773, allocations: 4 kB / 498.2 MB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000958/0.3783, allocations: 482.6 kB / 498.7 MB, free: 152 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.706e-05/0.3783, allocations: 11.98 kB / 498.7 MB, free: 140 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.588e-05/0.3783, allocations: 33.64 kB / 498.7 MB, free: 100 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004672/0.3788, allocations: 296.9 kB / 499 MB, free: 15.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3788, allocations: 0 / 499 MB, free: 15.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3788, allocations: 4 kB / 499 MB, free: 15.8 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.3788, allocations: 0 / 499 MB, free: 15.8 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.0004725/0.3793, allocations: 423.7 kB / 499.4 MB, free: 15.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.3793, allocations: 8.031 kB / 499.4 MB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/0.3805, allocations: 107.8 kB / 499.6 MB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.3808, allocations: 219 kB / 499.8 MB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.3808, allocations: 4 kB / 499.8 MB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.3809, allocations: 7.953 kB / 499.8 MB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.3811, allocations: 87.33 kB / 499.9 MB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.3811, allocations: 3.938 kB / 499.9 MB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.3811, allocations: 0 / 499.9 MB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.3811, allocations: 5.406 kB / 499.9 MB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.3813, allocations: 43.95 kB / 499.9 MB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002468/0.3815, allocations: 210.6 kB / 0.4884 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004395/0.382, allocations: 121.1 kB / 0.4885 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.3821, allocations: 49.7 kB / 0.4886 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006347/0.3828, allocations: 0.9901 MB / 0.4895 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.3828, allocations: 30.56 kB / 0.4896 GB, free: 13.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.143e-06/0.3828, allocations: 0 / 0.4896 GB, free: 13.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004314/0.3832, allocations: 129.5 kB / 0.4897 GB, free: 12.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.3833, allocations: 81.11 kB / 0.4898 GB, free: 12.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.3835, allocations: 157.8 kB / 0.4899 GB, free: 12.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.3835, allocations: 25.7 kB / 0.4899 GB, free: 12.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.3836, allocations: 84.14 kB / 0.49 GB, free: 12.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.3836, allocations: 27.59 kB / 0.49 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.527e-06/0.3836, allocations: 0 / 0.49 GB, free: 12.58 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.3837, allocations: 330.7 kB / 0.4904 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.578e-05/0.3838, allocations: 23.97 kB / 0.4904 GB, free: 12.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.384, allocations: 51.42 kB / 0.4904 GB, free: 12.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.3841, allocations: 31.97 kB / 0.4905 GB, free: 12.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3841, allocations: 0 / 0.4905 GB, free: 12.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002997/0.3844, allocations: 121.8 kB / 0.4906 GB, free: 12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.3844, allocations: 8.062 kB / 0.4906 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3844, allocations: 4 kB / 0.4906 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3844, allocations: 96 / 0.4906 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.3846, allocations: 31.91 kB / 0.4906 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.3846, allocations: 3.984 kB / 0.4906 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.3848, allocations: 8.859 kB / 0.4906 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.3848, allocations: 7.984 kB / 0.4906 GB, free: 11.94 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.626e-05/0.3849, allocations: 113.8 kB / 0.4907 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/0.3849, allocations: 7.859 kB / 0.4908 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005225/0.3854, allocations: 243.4 kB / 0.491 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.3855, allocations: 4 kB / 0.491 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3855, allocations: 1.625 kB / 0.491 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.3855, allocations: 3.984 kB / 0.491 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.3857, allocations: 211 kB / 0.4912 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3857, allocations: 0 / 0.4912 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.3859, allocations: 23.97 kB / 0.4912 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.3859, allocations: 7.953 kB / 0.4912 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.3859, allocations: 3.984 kB / 0.4912 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3859, allocations: 0 / 0.4912 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3859, allocations: 0 / 0.4912 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003831/0.3863, allocations: 181.8 kB / 0.4914 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-05/0.3864, allocations: 93.03 kB / 0.4915 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/0.3864, allocations: 11.89 kB / 0.4915 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.3866, allocations: 3.984 kB / 0.4915 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.3866, allocations: 11.98 kB / 0.4915 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.3866, allocations: 4 kB / 0.4915 GB, free: 10.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001513/0.3868, allocations: 128 kB / 0.4916 GB, free: 10.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.423e-06/0.3868, allocations: 4.062 kB / 0.4916 GB, free: 10.81 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004477/0.3873, allocations: 139.8 kB / 0.4918 GB, free: 10.68 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 (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.0006673/0.3879, allocations: 299.8 kB / 0.4921 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002614/0.3882, allocations: 75.88 kB / 0.4921 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3882, allocations: 4.125 kB / 0.4921 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.3883, allocations: 35.97 kB / 0.4922 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.3886, allocations: 12.78 kB / 0.4922 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000566/0.3891, allocations: 363.2 kB / 0.4925 GB, free: 9.867 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.3894, allocations: 0.6887 MB / 0.4932 GB, free: 9.152 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005891/0.39, allocations: 438.9 kB / 0.4936 GB, free: 8.723 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.3901, allocations: 35.39 kB / 0.4937 GB, free: 8.688 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3901, allocations: 0 / 0.4937 GB, free: 8.688 MB / 414.1 MB Notification: Performance of Templates: time 0.008349/0.3985, allocations: 5.003 MB / 0.4985 GB, free: 3.695 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches