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.001152/0.001152, allocations: 104.7 kB / 16.62 MB, free: 6.809 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.001711/0.001711, allocations: 189.9 kB / 17.55 MB, free: 5.953 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.345/1.345, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 47.05 kB / 300.1 MB, free: 6.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1267, allocations: 49.45 MB / 349.6 MB, free: 4.668 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.003554/0.1303, allocations: 1.406 MB / 351 MB, free: 3.246 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.2966/0.4269, allocations: 146.6 MB / 497.6 MB, free: 1.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.427, allocations: 0 / 497.6 MB, free: 1.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.586e-05/0.4271, allocations: 3.984 kB / 497.6 MB, free: 1.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007287/0.4278, allocations: 215.9 kB / 497.8 MB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008446/0.4287, allocations: 367.8 kB / 498.1 MB, free: 464 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.406e-05/0.4288, allocations: 55.72 kB / 498.2 MB, free: 408 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.484e-05/0.4288, allocations: 7.938 kB / 498.2 MB, free: 400 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.595e-05/0.4289, allocations: 23.92 kB / 498.2 MB, free: 376 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.334e-05/0.4289, allocations: 27.91 kB / 498.3 MB, free: 348 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.919e-06/0.429, allocations: 0 / 498.3 MB, free: 348 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009611/0.4299, allocations: 0.6394 MB / 498.9 MB, free: 15.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.62e-05/0.43, allocations: 15.91 kB / 498.9 MB, free: 15.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.777e-05/0.43, allocations: 15.94 kB / 498.9 MB, free: 15.67 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000655/0.4306, allocations: 0.4989 MB / 499.4 MB, free: 15.17 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.4307, allocations: 0 / 499.4 MB, free: 15.17 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4307, allocations: 0 / 499.4 MB, free: 15.17 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.4307, allocations: 0 / 499.4 MB, free: 15.17 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.0004898/0.4312, allocations: 423.8 kB / 499.8 MB, free: 14.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.4312, allocations: 19.97 kB / 499.9 MB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.4324, allocations: 89.3 kB / 499.9 MB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.4326, allocations: 223.9 kB / 0.4884 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.4326, allocations: 0 / 0.4884 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.4327, allocations: 11.98 kB / 0.4885 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.4329, allocations: 99.25 kB / 0.4885 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.281e-06/0.4329, allocations: 0.6562 kB / 0.4885 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.4329, allocations: 0 / 0.4885 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.4329, allocations: 4 kB / 0.4886 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.4331, allocations: 39.95 kB / 0.4886 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002317/0.4334, allocations: 206.9 kB / 0.4888 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004728/0.4338, allocations: 125.1 kB / 0.4889 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.434, allocations: 41.75 kB / 0.4889 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005919/0.4346, allocations: 0.9901 MB / 0.4899 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.4346, allocations: 34.56 kB / 0.4899 GB, free: 12.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.4346, allocations: 4 kB / 0.4899 GB, free: 12.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004844/0.4351, allocations: 133.4 kB / 0.4901 GB, free: 12.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.4351, allocations: 77.11 kB / 0.4901 GB, free: 12.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/0.4354, allocations: 157.8 kB / 0.4903 GB, free: 12.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.4354, allocations: 33.62 kB / 0.4903 GB, free: 12.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.945e-05/0.4354, allocations: 88.14 kB / 0.4904 GB, free: 11.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.4355, allocations: 19.66 kB / 0.4904 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.83e-05/0.4355, allocations: 33.69 kB / 0.4905 GB, free: 11.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.4357, allocations: 322.8 kB / 0.4908 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.4358, allocations: 23.97 kB / 0.4908 GB, free: 11.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.4359, allocations: 51.41 kB / 0.4908 GB, free: 11.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000234/0.4361, allocations: 91.33 kB / 0.4909 GB, free: 11.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4361, allocations: 0 / 0.4909 GB, free: 11.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003275/0.4365, allocations: 109.9 kB / 0.491 GB, free: 11.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.4365, allocations: 8 kB / 0.491 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.4365, allocations: 96 / 0.491 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.4365, allocations: 3.984 kB / 0.4911 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.4367, allocations: 35.97 kB / 0.4911 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.4367, allocations: 4 kB / 0.4911 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/0.4369, allocations: 11.89 kB / 0.4911 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.4369, allocations: 15.92 kB / 0.4911 GB, free: 11.19 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 7.412e-05/0.437, allocations: 109.8 kB / 0.4912 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.835e-05/0.4371, allocations: 4 kB / 0.4912 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005471/0.4376, allocations: 239.3 kB / 0.4915 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.4376, allocations: 0 / 0.4915 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.4377, allocations: 4 kB / 0.4915 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.4377, allocations: 4.797 kB / 0.4915 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.4379, allocations: 214.9 kB / 0.4917 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.4379, allocations: 3.938 kB / 0.4917 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.4381, allocations: 23.97 kB / 0.4917 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4381, allocations: 0 / 0.4917 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.4381, allocations: 12.86 kB / 0.4917 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.4381, allocations: 0 / 0.4917 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4381, allocations: 0 / 0.4917 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004195/0.4385, allocations: 193.7 kB / 0.4919 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.246e-05/0.4386, allocations: 85.03 kB / 0.492 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.4387, allocations: 4 kB / 0.492 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.4389, allocations: 11.94 kB / 0.492 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.4389, allocations: 3.984 kB / 0.492 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.4389, allocations: 7.984 kB / 0.492 GB, free: 10.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001688/0.4391, allocations: 131.2 kB / 0.4921 GB, free: 10.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4391, allocations: 0 / 0.4921 GB, free: 10.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004347/0.4396, allocations: 127.9 kB / 0.4922 GB, free: 9.941 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.0006587/0.4402, allocations: 314.2 kB / 0.4925 GB, free: 9.629 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002737/0.4405, allocations: 83.8 kB / 0.4926 GB, free: 9.547 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4405, allocations: 3.938 kB / 0.4926 GB, free: 9.543 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.4406, allocations: 40.09 kB / 0.4927 GB, free: 9.504 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.4409, allocations: 12 kB / 0.4927 GB, free: 9.492 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005247/0.4414, allocations: 315.6 kB / 0.493 GB, free: 9.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.4416, allocations: 0.6922 MB / 0.4937 GB, free: 8.441 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005629/0.4422, allocations: 431.8 kB / 0.4941 GB, free: 8.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.4423, allocations: 43.39 kB / 0.4941 GB, free: 7.977 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4423, allocations: 0 / 0.4941 GB, free: 7.977 MB / 414.1 MB Notification: Performance of Templates: time 0.008258/0.4506, allocations: 5.162 MB / 0.4991 GB, free: 2.824 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