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.001406/0.001406, allocations: 103 kB / 17.74 MB, free: 5.367 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.001237/0.001237, allocations: 188.5 kB / 18.66 MB, free: 4.449 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.355/1.355, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 43.94 kB / 352 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2768, allocations: 49.44 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.003579/0.2805, allocations: 1.353 MB / 402.8 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1922/0.4726, allocations: 148.7 MB / 0.5386 GB, free: 2.184 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.173e-05/0.4728, allocations: 4 kB / 0.5386 GB, free: 2.18 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.646e-05/0.4728, allocations: 7.922 kB / 0.5386 GB, free: 2.172 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009395/0.4738, allocations: 234.8 kB / 0.5388 GB, free: 1.941 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.4749, allocations: 400.9 kB / 0.5392 GB, free: 1.555 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.475, allocations: 47.73 kB / 0.5392 GB, free: 1.508 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.809e-05/0.4751, allocations: 11.88 kB / 0.5392 GB, free: 1.496 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.845e-05/0.4752, allocations: 23.97 kB / 0.5393 GB, free: 1.473 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.513e-05/0.4753, allocations: 35.84 kB / 0.5393 GB, free: 1.438 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.4753, allocations: 4 kB / 0.5393 GB, free: 1.434 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.4766, allocations: 0.6667 MB / 0.5399 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.308e-05/0.4767, allocations: 11.98 kB / 0.54 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.062e-05/0.4767, allocations: 15.88 kB / 0.54 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009419/0.4777, allocations: 496.5 kB / 0.5404 GB, free: 260 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.4777, allocations: 0 / 0.5404 GB, free: 260 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4777, allocations: 3.938 kB / 0.5404 GB, free: 256 kB / 462.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.4777, allocations: 0 / 0.5404 GB, free: 256 kB / 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.1984/0.6761, allocations: 427.6 kB / 0.5409 GB, free: 151.5 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.6761, allocations: 10.09 kB / 0.5409 GB, free: 151.5 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/0.6774, allocations: 91.2 kB / 0.541 GB, free: 151.4 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.6777, allocations: 224.8 kB / 0.5412 GB, free: 151.2 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.6777, allocations: 1 kB / 0.5412 GB, free: 151.2 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.6777, allocations: 6.344 kB / 0.5412 GB, free: 151.2 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/0.678, allocations: 94.3 kB / 0.5413 GB, free: 151.2 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.678, allocations: 0 / 0.5413 GB, free: 151.2 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.678, allocations: 5.344 kB / 0.5413 GB, free: 151.2 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.678, allocations: 0.6562 kB / 0.5413 GB, free: 151.2 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.6782, allocations: 49.34 kB / 0.5413 GB, free: 151.2 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002379/0.6785, allocations: 208.3 kB / 0.5415 GB, free: 150.9 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004961/0.679, allocations: 123.9 kB / 0.5416 GB, free: 150.9 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.6791, allocations: 37.98 kB / 0.5417 GB, free: 150.9 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005315/0.6796, allocations: 0.9824 MB / 0.5426 GB, free: 149.7 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.6796, allocations: 47.62 kB / 0.5427 GB, free: 149.7 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.6797, allocations: 4.359 kB / 0.5427 GB, free: 149.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005112/0.6802, allocations: 134.3 kB / 0.5428 GB, free: 149.6 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.6802, allocations: 78.7 kB / 0.5429 GB, free: 149.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.6804, allocations: 155.1 kB / 0.543 GB, free: 149.4 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.6804, allocations: 29.42 kB / 0.5431 GB, free: 149.4 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.785e-05/0.6805, allocations: 89.34 kB / 0.5431 GB, free: 149.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.145e-05/0.6805, allocations: 16.16 kB / 0.5432 GB, free: 149.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.378e-05/0.6806, allocations: 33.34 kB / 0.5432 GB, free: 149.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.503e-05/0.6806, allocations: 316.2 kB / 0.5435 GB, free: 148.9 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.6807, allocations: 25.05 kB / 0.5435 GB, free: 148.9 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.6809, allocations: 55.19 kB / 0.5436 GB, free: 148.9 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/0.6811, allocations: 81.69 kB / 0.5436 GB, free: 148.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6811, allocations: 0.5625 kB / 0.5436 GB, free: 148.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003549/0.6815, allocations: 121.2 kB / 0.5438 GB, free: 148.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.6815, allocations: 10.5 kB / 0.5438 GB, free: 148.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.6815, allocations: 4.938 kB / 0.5438 GB, free: 148.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.6815, allocations: 1.562 kB / 0.5438 GB, free: 148.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.6817, allocations: 30.94 kB / 0.5438 GB, free: 148.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.6817, allocations: 1.094 kB / 0.5438 GB, free: 148.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.6819, allocations: 9.609 kB / 0.5438 GB, free: 148.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.6819, allocations: 11.36 kB / 0.5438 GB, free: 148.8 MB / 462.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 5.752e-05/0.682, allocations: 109.2 kB / 0.5439 GB, free: 148.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.81e-05/0.6821, allocations: 7.312 kB / 0.5439 GB, free: 148.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006276/0.6827, allocations: 249.4 kB / 0.5442 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.6827, allocations: 4.344 kB / 0.5442 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.6827, allocations: 0.5 kB / 0.5442 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.6827, allocations: 1.703 kB / 0.5442 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.6829, allocations: 213.2 kB / 0.5444 GB, free: 148.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.6829, allocations: 5.5 kB / 0.5444 GB, free: 148.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.6831, allocations: 21.22 kB / 0.5444 GB, free: 148.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.6831, allocations: 5.125 kB / 0.5444 GB, free: 148.3 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.6831, allocations: 6.188 kB / 0.5444 GB, free: 148.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.6831, allocations: 2.203 kB / 0.5444 GB, free: 148.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.6832, allocations: 0.5312 kB / 0.5444 GB, free: 148.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004294/0.6836, allocations: 180.4 kB / 0.5446 GB, free: 148.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.106e-05/0.6837, allocations: 98.8 kB / 0.5447 GB, free: 148.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/0.6837, allocations: 5.5 kB / 0.5447 GB, free: 148.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.6839, allocations: 9.594 kB / 0.5447 GB, free: 148.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.291e-05/0.684, allocations: 7.547 kB / 0.5447 GB, free: 148.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.684, allocations: 2.625 kB / 0.5447 GB, free: 148.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001602/0.6841, allocations: 129.3 kB / 0.5448 GB, free: 148 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6841, allocations: 0 / 0.5448 GB, free: 148 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005684/0.6847, allocations: 131.8 kB / 0.545 GB, free: 148 MB / 462.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.0007332/0.6855, allocations: 334.2 kB / 0.5453 GB, free: 147.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002852/0.6858, allocations: 76.56 kB / 0.5454 GB, free: 147.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.6858, allocations: 128 / 0.5454 GB, free: 147.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.6859, allocations: 41.14 kB / 0.5454 GB, free: 147.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.6861, allocations: 12.52 kB / 0.5454 GB, free: 147.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004969/0.6866, allocations: 321.6 kB / 0.5457 GB, free: 147.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.63e-05/0.6867, allocations: 0.6991 MB / 0.5464 GB, free: 146.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.6869, allocations: 40.84 kB / 0.5464 GB, free: 146.8 MB / 462.1 MB Notification: Performance of SimCode: time 3.21e-07/0.6869, allocations: 0 / 0.5464 GB, free: 146.8 MB / 462.1 MB Notification: Performance of Templates: time 0.005169/0.692, allocations: 4.141 MB / 0.5505 GB, free: 143.1 MB / 462.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/jenkins1/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/jenkins1/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