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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.00117/0.001171, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.282/1.282, allocations: 226.7 MB / 245.5 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009753/0.0009752, allocations: 101.5 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009719/0.000972, allocations: 51.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2075, allocations: 50.45 MB / 407 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001873/0.2094, allocations: 1.431 MB / 408.5 MB, free: 26.37 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.3252/0.5347, allocations: 146.5 MB / 0.542 GB, free: 11.73 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.978e-05/0.5348, allocations: 1.094 kB / 0.542 GB, free: 11.73 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.447e-05/0.5348, allocations: 2.016 kB / 0.542 GB, free: 11.73 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006681/0.5355, allocations: 213.8 kB / 0.5422 GB, free: 11.68 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007412/0.5362, allocations: 327.7 kB / 0.5425 GB, free: 11.57 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 6.715e-05/0.5363, allocations: 60.45 kB / 0.5426 GB, free: 11.54 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.238e-05/0.5364, allocations: 2.125 kB / 0.5426 GB, free: 11.54 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.504e-05/0.5364, allocations: 25.34 kB / 0.5426 GB, free: 11.54 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.29e-05/0.5365, allocations: 29.44 kB / 0.5426 GB, free: 11.54 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.5365, allocations: 2.219 kB / 0.5426 GB, free: 11.54 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008864/0.5374, allocations: 0.6234 MB / 0.5432 GB, free: 11.37 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.5374, allocations: 3.203 kB / 0.5432 GB, free: 11.37 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.194e-05/0.5375, allocations: 31.28 kB / 0.5433 GB, free: 11.36 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006412/0.5381, allocations: 0.4994 MB / 0.5437 GB, free: 11.21 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.5381, allocations: 5.406 kB / 0.5438 GB, free: 11.21 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.5381, allocations: 0 / 0.5438 GB, free: 11.21 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.145e-06/0.5381, allocations: 0 / 0.5438 GB, free: 11.21 MB / 394.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.0004746/0.5386, allocations: 432.7 kB / 0.5442 GB, free: 10.79 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.5387, allocations: 10.66 kB / 0.5442 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.5399, allocations: 106.5 kB / 0.5443 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.5401, allocations: 223.3 kB / 0.5445 GB, free: 10.53 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.5401, allocations: 3.562 kB / 0.5445 GB, free: 10.53 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.5402, allocations: 2.719 kB / 0.5445 GB, free: 10.53 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.5404, allocations: 90.78 kB / 0.5446 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.5404, allocations: 2.25 kB / 0.5446 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.5404, allocations: 5.094 kB / 0.5446 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.5404, allocations: 0 / 0.5446 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001638/0.5406, allocations: 48.89 kB / 0.5446 GB, free: 10.44 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002204/0.5408, allocations: 210.7 kB / 0.5448 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004251/0.5413, allocations: 121.3 kB / 0.545 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.5414, allocations: 43.22 kB / 0.545 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005595/0.5419, allocations: 0.9855 MB / 0.546 GB, free: 8.965 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.542, allocations: 33.31 kB / 0.546 GB, free: 8.926 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.784e-06/0.542, allocations: 0 / 0.546 GB, free: 8.926 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004479/0.5424, allocations: 140.4 kB / 0.5461 GB, free: 8.855 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.5425, allocations: 77.11 kB / 0.5462 GB, free: 8.762 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.5427, allocations: 152 kB / 0.5463 GB, free: 8.652 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.5427, allocations: 25.7 kB / 0.5464 GB, free: 8.621 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.97e-05/0.5428, allocations: 89.81 kB / 0.5465 GB, free: 8.535 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.5428, allocations: 18.03 kB / 0.5465 GB, free: 8.523 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.313e-05/0.5429, allocations: 31.38 kB / 0.5465 GB, free: 8.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.237e-05/0.543, allocations: 325.6 kB / 0.5468 GB, free: 8.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.5431, allocations: 23.34 kB / 0.5468 GB, free: 8.172 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.5432, allocations: 53.31 kB / 0.5469 GB, free: 8.133 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.5434, allocations: 93.06 kB / 0.547 GB, free: 8.078 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.5434, allocations: 1.203 kB / 0.547 GB, free: 8.078 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000313/0.5437, allocations: 117.7 kB / 0.5471 GB, free: 8.02 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.5438, allocations: 4.719 kB / 0.5471 GB, free: 8.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.5438, allocations: 2.812 kB / 0.5471 GB, free: 8.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.5438, allocations: 1.125 kB / 0.5471 GB, free: 8.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.5439, allocations: 26.25 kB / 0.5471 GB, free: 8.012 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.5439, allocations: 1.812 kB / 0.5471 GB, free: 8.012 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.5441, allocations: 18.92 kB / 0.5471 GB, free: 7.996 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.5441, allocations: 12.89 kB / 0.5471 GB, free: 7.992 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.945e-05/0.5442, allocations: 120.9 kB / 0.5473 GB, free: 7.871 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.5443, allocations: 1.938 kB / 0.5473 GB, free: 7.871 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000518/0.5448, allocations: 244.9 kB / 0.5475 GB, free: 7.773 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.5448, allocations: 2.531 kB / 0.5475 GB, free: 7.773 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.5448, allocations: 0.875 kB / 0.5475 GB, free: 7.773 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.5448, allocations: 0 / 0.5475 GB, free: 7.773 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.545, allocations: 214.2 kB / 0.5477 GB, free: 7.562 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.545, allocations: 3.938 kB / 0.5477 GB, free: 7.559 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.5452, allocations: 26.41 kB / 0.5477 GB, free: 7.551 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.5452, allocations: 0 / 0.5477 GB, free: 7.551 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.5452, allocations: 8.047 kB / 0.5477 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.5452, allocations: 6.375 kB / 0.5477 GB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5452, allocations: 1.203 kB / 0.5478 GB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.5465, allocations: 1.077 MB / 0.5488 GB, free: 6.535 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.211e-05/0.5465, allocations: 90.55 kB / 0.5489 GB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.5466, allocations: 2.219 kB / 0.5489 GB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.5467, allocations: 6.5 kB / 0.5489 GB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.5468, allocations: 6.703 kB / 0.5489 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.5468, allocations: 6.031 kB / 0.5489 GB, free: 6.426 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001477/0.547, allocations: 138 kB / 0.549 GB, free: 6.336 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.547, allocations: 0 / 0.549 GB, free: 6.336 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005033/0.5475, allocations: 142.9 kB / 0.5492 GB, free: 6.309 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 (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.0006248/0.5481, allocations: 319.4 kB / 0.5495 GB, free: 6.145 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002539/0.5484, allocations: 82.45 kB / 0.5496 GB, free: 6.121 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5484, allocations: 0 / 0.5496 GB, free: 6.121 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.5485, allocations: 39.11 kB / 0.5496 GB, free: 6.113 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.5487, allocations: 17.89 kB / 0.5496 GB, free: 6.105 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000576/0.5493, allocations: 444.5 kB / 0.55 GB, free: 5.734 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.5495, allocations: 0.6928 MB / 0.5507 GB, free: 5.027 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005176/0.55, allocations: 438.7 kB / 0.5511 GB, free: 4.824 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.5502, allocations: 37.27 kB / 0.5512 GB, free: 4.805 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5502, allocations: 0 / 0.5512 GB, free: 4.805 MB / 394.7 MB Notification: Performance of Templates: time 0.007799/0.558, allocations: 5.177 MB / 0.5562 GB, free: 2.129 MB / 394.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches