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.001357/0.001357, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00136/0.00136, allocations: 202 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.353/1.353, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 63.89 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2284, allocations: 50.54 MB / 409.2 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.00237/0.2308, allocations: 1.362 MB / 410.6 MB, free: 248 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3625/0.5933, allocations: 151.6 MB / 0.549 GB, free: 1.453 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.047e-05/0.5934, allocations: 0 / 0.549 GB, free: 1.453 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.254e-05/0.5935, allocations: 6.531 kB / 0.549 GB, free: 1.453 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009699/0.5944, allocations: 241.3 kB / 0.5492 GB, free: 1.453 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.5956, allocations: 396.6 kB / 0.5496 GB, free: 1.441 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.5957, allocations: 57.97 kB / 0.5497 GB, free: 1.441 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.287e-05/0.5958, allocations: 2.688 kB / 0.5497 GB, free: 1.441 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.271e-05/0.5959, allocations: 25 kB / 0.5497 GB, free: 1.441 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.596, allocations: 32.14 kB / 0.5497 GB, free: 1.441 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.596, allocations: 1.25 kB / 0.5497 GB, free: 1.441 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.5973, allocations: 0.6749 MB / 0.5504 GB, free: 1.434 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.5973, allocations: 4.844 kB / 0.5504 GB, free: 1.434 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.91e-05/0.5973, allocations: 27.97 kB / 0.5504 GB, free: 1.434 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008098/0.5982, allocations: 500 kB / 0.5509 GB, free: 1.41 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5982, allocations: 0.9375 kB / 0.5509 GB, free: 1.41 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.5982, allocations: 0 / 0.5509 GB, free: 1.41 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.5982, allocations: 0 / 0.5509 GB, free: 1.41 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.0006442/0.5988, allocations: 431.2 kB / 0.5513 GB, free: 17.01 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.5989, allocations: 11.06 kB / 0.5513 GB, free: 17.01 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001958/0.6009, allocations: 111.6 kB / 0.5514 GB, free: 17.01 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.6012, allocations: 223.8 kB / 0.5516 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.6012, allocations: 4.062 kB / 0.5517 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.6013, allocations: 6.375 kB / 0.5517 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.6015, allocations: 89.53 kB / 0.5517 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.6015, allocations: 0 / 0.5517 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.6016, allocations: 2.406 kB / 0.5517 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.6016, allocations: 3.594 kB / 0.5517 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002218/0.6018, allocations: 45.45 kB / 0.5518 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002749/0.6021, allocations: 210.6 kB / 0.552 GB, free: 16.55 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005645/0.6027, allocations: 126.7 kB / 0.5521 GB, free: 16.51 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.6028, allocations: 42.62 kB / 0.5522 GB, free: 16.49 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007953/0.6036, allocations: 0.9803 MB / 0.5531 GB, free: 15.37 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.6037, allocations: 40.09 kB / 0.5532 GB, free: 15.33 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.6037, allocations: 0.9062 kB / 0.5532 GB, free: 15.33 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006227/0.6043, allocations: 134.8 kB / 0.5533 GB, free: 15.29 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.6044, allocations: 77.11 kB / 0.5534 GB, free: 15.2 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002698/0.6047, allocations: 164.8 kB / 0.5535 GB, free: 15.1 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.6047, allocations: 25.7 kB / 0.5535 GB, free: 15.07 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.653e-05/0.6048, allocations: 83.14 kB / 0.5536 GB, free: 14.98 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.6048, allocations: 21.55 kB / 0.5536 GB, free: 14.97 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.141e-05/0.6049, allocations: 36.5 kB / 0.5537 GB, free: 14.95 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.605, allocations: 325.4 kB / 0.554 GB, free: 14.64 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.6052, allocations: 24.67 kB / 0.554 GB, free: 14.64 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.6053, allocations: 57.23 kB / 0.5541 GB, free: 14.61 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002914/0.6056, allocations: 85.88 kB / 0.5541 GB, free: 14.57 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.6056, allocations: 2.656 kB / 0.5541 GB, free: 14.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004739/0.6061, allocations: 112 kB / 0.5542 GB, free: 14.54 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.6062, allocations: 8.156 kB / 0.5543 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.6062, allocations: 3.594 kB / 0.5543 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.6062, allocations: 0 / 0.5543 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.6064, allocations: 32.89 kB / 0.5543 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.6064, allocations: 2.688 kB / 0.5543 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002509/0.6067, allocations: 6.328 kB / 0.5543 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.6067, allocations: 9.531 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 0.000106/0.6068, allocations: 121.1 kB / 0.5544 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.343e-05/0.6069, allocations: 8.312 kB / 0.5544 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006836/0.6076, allocations: 244.5 kB / 0.5547 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.6076, allocations: 2.844 kB / 0.5547 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.6076, allocations: 3.906 kB / 0.5547 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.6076, allocations: 0.5156 kB / 0.5547 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.6079, allocations: 216.1 kB / 0.5549 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.6079, allocations: 1 kB / 0.5549 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.6081, allocations: 28.48 kB / 0.5549 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.6081, allocations: 2.031 kB / 0.5549 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.6081, allocations: 9.125 kB / 0.5549 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.6082, allocations: 0 / 0.5549 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6082, allocations: 3.438 kB / 0.5549 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005449/0.6087, allocations: 181.7 kB / 0.5551 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.58e-05/0.6088, allocations: 93.7 kB / 0.5552 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.4e-05/0.6089, allocations: 2.812 kB / 0.5552 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.6091, allocations: 7.531 kB / 0.5552 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.6092, allocations: 7.203 kB / 0.5552 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.6092, allocations: 7.875 kB / 0.5552 GB, free: 13.99 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002096/0.6094, allocations: 126.8 kB / 0.5553 GB, free: 13.91 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6094, allocations: 0 / 0.5553 GB, free: 13.91 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006892/0.6101, allocations: 138.6 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.0008193/0.611, allocations: 312.6 kB / 0.5558 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0003595/0.6113, allocations: 86.97 kB / 0.5558 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6114, allocations: 0.9688 kB / 0.5558 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.6115, allocations: 40.7 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.0003238/0.6119, allocations: 15.67 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.0006434/0.6125, allocations: 299.5 kB / 0.5562 GB, free: 13.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.6128, allocations: 0.6965 MB / 0.5569 GB, free: 12.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000645/0.6135, allocations: 433.4 kB / 0.5573 GB, free: 12.88 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.6136, allocations: 45.34 kB / 0.5573 GB, free: 12.87 MB / 478.1 MB Notification: Performance of SimCode: time 3.11e-07/0.6136, allocations: 0 / 0.5573 GB, free: 12.87 MB / 478.1 MB Notification: Performance of Templates: time 0.01065/0.6243, allocations: 5.212 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