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.001585/0.001585, allocations: 109.2 kB / 17.17 MB, free: 6.32 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.001937/0.001937, allocations: 194.9 kB / 18.08 MB, free: 5.41 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.501/1.501, allocations: 222.9 MB / 241.8 MB, free: 13.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001061/0.001061, allocations: 50.3 kB / 300.6 MB, free: 6.074 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0884/0.08948, allocations: 49.44 MB / 350 MB, free: 4.625 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.00247/0.09199, allocations: 1.414 MB / 351.5 MB, free: 3.195 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.2964/0.3884, allocations: 146.5 MB / 497.9 MB, free: 1.211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.469e-05/0.3885, allocations: 3 kB / 497.9 MB, free: 1.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.957e-05/0.3886, allocations: 0 / 497.9 MB, free: 1.211 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008276/0.3894, allocations: 211 kB / 498.2 MB, free: 1.012 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008991/0.3903, allocations: 327.6 kB / 498.5 MB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.618e-05/0.3904, allocations: 63.7 kB / 498.5 MB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.671e-05/0.3905, allocations: 4 kB / 498.5 MB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.34e-05/0.3905, allocations: 15.94 kB / 498.6 MB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.803e-05/0.3906, allocations: 31.89 kB / 498.6 MB, free: 0.582 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.3906, allocations: 3.938 kB / 498.6 MB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.3917, allocations: 0.616 MB / 499.2 MB, free: 15.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.3918, allocations: 15.92 kB / 499.2 MB, free: 15.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.238e-05/0.3918, allocations: 23.86 kB / 499.2 MB, free: 15.92 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005384/0.3923, allocations: 348.8 kB / 499.6 MB, free: 15.58 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3924, allocations: 0 / 499.6 MB, free: 15.58 MB / 414.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.3924, allocations: 0 / 499.6 MB, free: 15.58 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.3924, allocations: 0 / 499.6 MB, free: 15.58 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.0005244/0.3929, allocations: 435.8 kB / 0.4883 GB, free: 15.11 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.393, allocations: 16.03 kB / 0.4883 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/0.3941, allocations: 92.73 kB / 0.4884 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.3944, allocations: 216 kB / 0.4886 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.3944, allocations: 4 kB / 0.4886 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.3944, allocations: 4 kB / 0.4886 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.3947, allocations: 96.2 kB / 0.4887 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3947, allocations: 0 / 0.4887 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.3947, allocations: 0 / 0.4887 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3947, allocations: 0 / 0.4887 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.3949, allocations: 47.89 kB / 0.4887 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002587/0.3952, allocations: 206.9 kB / 0.4889 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005046/0.3957, allocations: 129.1 kB / 0.4891 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.3958, allocations: 37.77 kB / 0.4891 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006157/0.3964, allocations: 0.9901 MB / 0.4901 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.3965, allocations: 38 kB / 0.4901 GB, free: 12.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.3965, allocations: 3.938 kB / 0.4901 GB, free: 12.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005135/0.397, allocations: 133.4 kB / 0.4902 GB, free: 12.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.3971, allocations: 81.09 kB / 0.4903 GB, free: 12.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.3973, allocations: 153.8 kB / 0.4905 GB, free: 12.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.3973, allocations: 25.7 kB / 0.4905 GB, free: 12.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.852e-05/0.3974, allocations: 84.14 kB / 0.4906 GB, free: 12.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.023e-05/0.3974, allocations: 27.7 kB / 0.4906 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.844e-05/0.3975, allocations: 25.7 kB / 0.4906 GB, free: 12.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.3976, allocations: 330.8 kB / 0.4909 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.3977, allocations: 23.97 kB / 0.491 GB, free: 11.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.3978, allocations: 55.34 kB / 0.491 GB, free: 11.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.3981, allocations: 87.77 kB / 0.4911 GB, free: 11.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3981, allocations: 0 / 0.4911 GB, free: 11.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003535/0.3985, allocations: 117.5 kB / 0.4912 GB, free: 11.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3985, allocations: 8 kB / 0.4912 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.3985, allocations: 0 / 0.4912 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.3985, allocations: 64 / 0.4912 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.3987, allocations: 35.91 kB / 0.4912 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3987, allocations: 0 / 0.4912 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.3989, allocations: 11.84 kB / 0.4913 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.3989, allocations: 11.98 kB / 0.4913 GB, free: 11.61 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.097e-05/0.399, allocations: 117.7 kB / 0.4914 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.85e-05/0.3991, allocations: 8 kB / 0.4914 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006026/0.3997, allocations: 233.9 kB / 0.4916 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.3997, allocations: 0 / 0.4916 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.3997, allocations: 0 / 0.4916 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.3997, allocations: 4 kB / 0.4916 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.3999, allocations: 214.9 kB / 0.4918 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.3999, allocations: 4 kB / 0.4918 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.4001, allocations: 23.97 kB / 0.4918 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4001, allocations: 0 / 0.4918 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.4001, allocations: 4 kB / 0.4918 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.4002, allocations: 7.938 kB / 0.4919 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.4002, allocations: 0 / 0.4919 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004233/0.4006, allocations: 183.3 kB / 0.492 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.781e-05/0.4007, allocations: 89.06 kB / 0.4921 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.459e-05/0.4007, allocations: 11.98 kB / 0.4921 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.4009, allocations: 3.938 kB / 0.4921 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.401, allocations: 11.92 kB / 0.4921 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.401, allocations: 4 kB / 0.4921 GB, free: 10.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000163/0.4012, allocations: 127.2 kB / 0.4923 GB, free: 10.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4012, allocations: 0 / 0.4923 GB, free: 10.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004909/0.4017, allocations: 127.9 kB / 0.4924 GB, free: 10.36 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.0007478/0.4024, allocations: 339.4 kB / 0.4927 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002815/0.4027, allocations: 75.81 kB / 0.4928 GB, free: 9.961 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4027, allocations: 4 kB / 0.4928 GB, free: 9.957 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.4029, allocations: 40.05 kB / 0.4928 GB, free: 9.918 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.4031, allocations: 11.98 kB / 0.4928 GB, free: 9.906 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005705/0.4037, allocations: 347.2 kB / 0.4932 GB, free: 9.535 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/0.4039, allocations: 0.6887 MB / 0.4938 GB, free: 8.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.4041, allocations: 39.39 kB / 0.4939 GB, free: 8.781 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4041, allocations: 0 / 0.4939 GB, free: 8.781 MB / 414.1 MB Notification: Performance of Templates: time 0.006668/0.4107, allocations: 4.128 MB / 0.4979 GB, free: 4.66 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/jenkins1/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/jenkins1/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