Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001311/0.001311, allocations: 175.4 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007222/0.0007223, allocations: 82.42 kB / 271.2 MB, free: 8.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003203/0.0003204, allocations: 8 kB / 327.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2044, allocations: 47.57 MB / 375.1 MB, free: 45.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001097/0.2056, allocations: 1.064 MB / 376.1 MB, free: 44.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.3318/0.5374, allocations: 136.6 MB / 0.5007 GB, free: 1.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.015e-05/0.5375, allocations: 0 / 0.5007 GB, free: 1.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.908e-05/0.5376, allocations: 2.906 kB / 0.5007 GB, free: 1.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007328/0.5383, allocations: 194.1 kB / 0.5009 GB, free: 1.488 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.5395, allocations: 0.5157 MB / 0.5014 GB, free: 1.465 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 7.101e-05/0.5396, allocations: 54.62 kB / 0.5014 GB, free: 1.465 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.35e-05/0.5397, allocations: 0 / 0.5014 GB, free: 1.465 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.989e-05/0.5397, allocations: 23.41 kB / 0.5014 GB, free: 1.465 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.389e-05/0.5398, allocations: 28.56 kB / 0.5015 GB, free: 1.461 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.5398, allocations: 3.594 kB / 0.5015 GB, free: 1.461 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.5409, allocations: 0.7461 MB / 0.5022 GB, free: 1.453 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.541, allocations: 14.55 kB / 0.5022 GB, free: 1.453 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.59e-05/0.541, allocations: 48.55 kB / 0.5023 GB, free: 1.422 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004945/0.5415, allocations: 415.1 kB / 0.5027 GB, free: 1.398 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5415, allocations: 2.562 kB / 0.5027 GB, free: 1.398 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.5415, allocations: 0 / 0.5027 GB, free: 1.398 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.5415, allocations: 4 kB / 0.5027 GB, free: 1.395 MB / 378.7 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.000573/0.5421, allocations: 436.8 kB / 0.5031 GB, free: 16.99 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.5422, allocations: 11.53 kB / 0.5031 GB, free: 16.99 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.5432, allocations: 96.59 kB / 0.5032 GB, free: 16.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.5434, allocations: 224.8 kB / 0.5034 GB, free: 16.78 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.5435, allocations: 7.938 kB / 0.5034 GB, free: 16.77 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.5435, allocations: 5.344 kB / 0.5034 GB, free: 16.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.5437, allocations: 90.73 kB / 0.5035 GB, free: 16.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.5437, allocations: 0 / 0.5035 GB, free: 16.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.5437, allocations: 0 / 0.5035 GB, free: 16.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.5437, allocations: 2.734 kB / 0.5035 GB, free: 16.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.5439, allocations: 52.08 kB / 0.5035 GB, free: 16.72 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002108/0.5441, allocations: 219.4 kB / 0.5038 GB, free: 16.51 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004188/0.5446, allocations: 123 kB / 0.5039 GB, free: 16.46 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.789e-05/0.5447, allocations: 37.14 kB / 0.5039 GB, free: 16.44 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005528/0.5452, allocations: 0.9919 MB / 0.5049 GB, free: 15.31 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.5453, allocations: 36.03 kB / 0.5049 GB, free: 15.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.5453, allocations: 0 / 0.5049 GB, free: 15.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004371/0.5457, allocations: 129.2 kB / 0.505 GB, free: 15.24 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.5458, allocations: 80.45 kB / 0.5051 GB, free: 15.14 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.546, allocations: 154.6 kB / 0.5053 GB, free: 15.05 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.546, allocations: 32.92 kB / 0.5053 GB, free: 15.01 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.373e-05/0.546, allocations: 82.77 kB / 0.5054 GB, free: 14.93 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.362e-05/0.5461, allocations: 27.2 kB / 0.5054 GB, free: 14.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.169e-05/0.5461, allocations: 3.438 kB / 0.5054 GB, free: 14.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.5462, allocations: 313.3 kB / 0.5057 GB, free: 14.6 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.324e-05/0.5463, allocations: 29.95 kB / 0.5057 GB, free: 14.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.645e-05/0.5464, allocations: 53.59 kB / 0.5058 GB, free: 14.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.5466, allocations: 87.03 kB / 0.5059 GB, free: 14.53 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5466, allocations: 3.938 kB / 0.5059 GB, free: 14.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002871/0.5469, allocations: 119.4 kB / 0.506 GB, free: 14.49 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.5469, allocations: 11.94 kB / 0.506 GB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.547, allocations: 0 / 0.506 GB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.547, allocations: 3.594 kB / 0.506 GB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.5471, allocations: 25.25 kB / 0.506 GB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.5471, allocations: 2.906 kB / 0.506 GB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.5473, allocations: 10.84 kB / 0.506 GB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.5473, allocations: 4.953 kB / 0.506 GB, free: 14.49 MB / 394.7 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.894e-05/0.5474, allocations: 119.3 kB / 0.5061 GB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.5475, allocations: 10.09 kB / 0.5062 GB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005059/0.548, allocations: 233.1 kB / 0.5064 GB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.548, allocations: 3.125 kB / 0.5064 GB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.548, allocations: 0 / 0.5064 GB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.548, allocations: 4 kB / 0.5064 GB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.5482, allocations: 214.5 kB / 0.5066 GB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.5482, allocations: 0 / 0.5066 GB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.5483, allocations: 27.38 kB / 0.5066 GB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5484, allocations: 0 / 0.5066 GB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.5484, allocations: 6.281 kB / 0.5066 GB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.5484, allocations: 2.906 kB / 0.5066 GB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5484, allocations: 0 / 0.5066 GB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003488/0.5487, allocations: 180.1 kB / 0.5068 GB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.392e-05/0.5488, allocations: 96.64 kB / 0.5069 GB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.585e-05/0.5489, allocations: 3.156 kB / 0.5069 GB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.549, allocations: 6.031 kB / 0.5069 GB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.5491, allocations: 9.516 kB / 0.5069 GB, free: 13.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.5491, allocations: 9.969 kB / 0.5069 GB, free: 13.94 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000149/0.5493, allocations: 139.2 kB / 0.5071 GB, free: 13.86 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5493, allocations: 0 / 0.5071 GB, free: 13.86 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005347/0.5498, allocations: 167.3 kB / 0.5072 GB, free: 13.83 MB / 394.7 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.0007849/0.5506, allocations: 378.2 kB / 0.5076 GB, free: 13.69 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002541/0.5509, allocations: 75.5 kB / 0.5076 GB, free: 13.69 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5509, allocations: 0 / 0.5076 GB, free: 13.69 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.551, allocations: 44.67 kB / 0.5077 GB, free: 13.69 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.5512, allocations: 19.45 kB / 0.5077 GB, free: 13.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005776/0.5518, allocations: 387.5 kB / 0.5081 GB, free: 13.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.5521, allocations: 0.6903 MB / 0.5087 GB, free: 12.71 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.5522, allocations: 48.42 kB / 0.5088 GB, free: 12.7 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5522, allocations: 0 / 0.5088 GB, free: 12.7 MB / 394.7 MB Notification: Performance of Templates: time 0.007301/0.5596, allocations: 4.677 MB / 0.5134 GB, free: 12.09 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches