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.001577/0.001577, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002012/0.002012, allocations: 198 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 67.88 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.232, allocations: 50.53 MB / 409.2 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002424/0.2345, allocations: 1.362 MB / 410.6 MB, free: 228 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3686/0.6031, allocations: 151.6 MB / 0.549 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.757e-05/0.6032, allocations: 0.9062 kB / 0.549 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.448e-05/0.6032, allocations: 6.141 kB / 0.549 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007122/0.604, allocations: 240 kB / 0.5493 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007941/0.6048, allocations: 398.1 kB / 0.5496 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 7.891e-05/0.6049, allocations: 57.36 kB / 0.5497 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.366e-05/0.6049, allocations: 4.703 kB / 0.5497 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.01e-05/0.6049, allocations: 25.94 kB / 0.5497 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.179e-05/0.605, allocations: 30.16 kB / 0.5497 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.605, allocations: 1.375 kB / 0.5497 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009134/0.606, allocations: 0.6762 MB / 0.5504 GB, free: 1.438 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.606, allocations: 6.062 kB / 0.5504 GB, free: 1.438 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.117e-05/0.606, allocations: 22.48 kB / 0.5504 GB, free: 1.438 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000589/0.6066, allocations: 0.4921 MB / 0.5509 GB, free: 1.414 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.6066, allocations: 0 / 0.5509 GB, free: 1.414 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.6066, allocations: 0 / 0.5509 GB, free: 1.414 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.718e-06/0.6066, allocations: 4.031 kB / 0.5509 GB, free: 1.414 MB / 462.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.0005309/0.6072, allocations: 430.7 kB / 0.5513 GB, free: 17.02 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.6072, allocations: 8.125 kB / 0.5513 GB, free: 17.02 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/0.6085, allocations: 115.1 kB / 0.5514 GB, free: 17.01 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.6087, allocations: 220.8 kB / 0.5517 GB, free: 16.81 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.6088, allocations: 4.844 kB / 0.5517 GB, free: 16.81 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.6088, allocations: 3.406 kB / 0.5517 GB, free: 16.81 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.609, allocations: 95.94 kB / 0.5518 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.609, allocations: 0 / 0.5518 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.609, allocations: 0 / 0.5518 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.609, allocations: 2.781 kB / 0.5518 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.6092, allocations: 44.11 kB / 0.5518 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002058/0.6094, allocations: 211.7 kB / 0.552 GB, free: 16.56 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004222/0.6098, allocations: 122.9 kB / 0.5521 GB, free: 16.51 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.938e-05/0.6099, allocations: 41.58 kB / 0.5522 GB, free: 16.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000585/0.6105, allocations: 0.9866 MB / 0.5531 GB, free: 15.37 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.6106, allocations: 39.06 kB / 0.5532 GB, free: 15.33 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.6106, allocations: 0 / 0.5532 GB, free: 15.33 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004546/0.611, allocations: 134.5 kB / 0.5533 GB, free: 15.3 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.6111, allocations: 81.05 kB / 0.5534 GB, free: 15.2 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.6113, allocations: 157.6 kB / 0.5535 GB, free: 15.1 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.6113, allocations: 25.7 kB / 0.5535 GB, free: 15.07 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.562e-05/0.6113, allocations: 87.52 kB / 0.5536 GB, free: 14.99 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.6114, allocations: 17.53 kB / 0.5536 GB, free: 14.98 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.196e-05/0.6114, allocations: 35.55 kB / 0.5537 GB, free: 14.96 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.571e-05/0.6115, allocations: 325.9 kB / 0.554 GB, free: 14.64 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.692e-05/0.6116, allocations: 23.3 kB / 0.554 GB, free: 14.64 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.945e-05/0.6117, allocations: 56.27 kB / 0.5541 GB, free: 14.61 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.6119, allocations: 87.3 kB / 0.5541 GB, free: 14.58 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.6119, allocations: 3.938 kB / 0.5541 GB, free: 14.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003016/0.6123, allocations: 117 kB / 0.5543 GB, free: 14.54 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.6123, allocations: 5.75 kB / 0.5543 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.6123, allocations: 0 / 0.5543 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.6123, allocations: 6.203 kB / 0.5543 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.6124, allocations: 23.19 kB / 0.5543 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.6125, allocations: 8.938 kB / 0.5543 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.6126, allocations: 2.703 kB / 0.5543 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.6127, allocations: 12.36 kB / 0.5543 GB, free: 14.54 MB / 478.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.241e-05/0.6127, allocations: 121.1 kB / 0.5544 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.396e-05/0.6128, allocations: 9.719 kB / 0.5544 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005096/0.6133, allocations: 240.8 kB / 0.5547 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.6133, allocations: 64 / 0.5547 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.6133, allocations: 8.156 kB / 0.5547 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.6133, allocations: 1.922 kB / 0.5547 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.6135, allocations: 222.6 kB / 0.5549 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.6135, allocations: 1.203 kB / 0.5549 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.6137, allocations: 20.06 kB / 0.5549 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.6137, allocations: 3.531 kB / 0.5549 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.6137, allocations: 0 / 0.5549 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.6137, allocations: 4 kB / 0.5549 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6137, allocations: 0 / 0.5549 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003625/0.6141, allocations: 179.3 kB / 0.5551 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.277e-05/0.6142, allocations: 90.33 kB / 0.5552 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.171e-05/0.6142, allocations: 7.969 kB / 0.5552 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.6144, allocations: 10.42 kB / 0.5552 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.013e-05/0.6144, allocations: 8.078 kB / 0.5552 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.6145, allocations: 2.406 kB / 0.5552 GB, free: 13.99 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000145/0.6146, allocations: 137.6 kB / 0.5553 GB, free: 13.92 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6146, allocations: 0 / 0.5553 GB, free: 13.92 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000419/0.615, allocations: 129.9 kB / 0.5555 GB, free: 13.89 MB / 478.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.000592/0.6156, allocations: 318 kB / 0.5558 GB, free: 13.78 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002587/0.6159, allocations: 82.38 kB / 0.5558 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.6159, allocations: 0 / 0.5558 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.616, allocations: 41.61 kB / 0.5559 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.6162, allocations: 12.3 kB / 0.5559 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004803/0.6167, allocations: 308.6 kB / 0.5562 GB, free: 13.61 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.617, allocations: 0.6891 MB / 0.5569 GB, free: 12.91 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004271/0.6174, allocations: 438.5 kB / 0.5573 GB, free: 12.89 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.6175, allocations: 40.81 kB / 0.5573 GB, free: 12.88 MB / 478.1 MB Notification: Performance of SimCode: time 2.2e-07/0.6175, allocations: 0 / 0.5573 GB, free: 12.88 MB / 478.1 MB Notification: Performance of Templates: time 0.007123/0.6247, allocations: 5.226 MB / 0.5624 GB, free: 12.46 MB / 478.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