Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 113 kB / 17.07 MB, free: 6.016 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.001118/0.001118, allocations: 191 kB / 18 MB, free: 5.098 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.306/1.306, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009405/0.0009405, allocations: 47.94 kB / 351.3 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2343, allocations: 49.43 MB / 400.7 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.00204/0.2364, allocations: 1.381 MB / 402.1 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1438/0.3802, allocations: 149.1 MB / 0.5382 GB, free: 1.875 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.94e-05/0.3803, allocations: 4 kB / 0.5382 GB, free: 1.871 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 5.174e-05/0.3804, allocations: 7.922 kB / 0.5382 GB, free: 1.863 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001149/0.3816, allocations: 370.5 kB / 0.5386 GB, free: 1.5 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.3827, allocations: 0.4972 MB / 0.5391 GB, free: 1.004 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.3829, allocations: 83.62 kB / 0.5392 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.567e-05/0.3829, allocations: 4 kB / 0.5392 GB, free: 0.918 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.716e-05/0.383, allocations: 35.84 kB / 0.5392 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.348e-05/0.3831, allocations: 35.84 kB / 0.5392 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.3831, allocations: 4 kB / 0.5392 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2146/0.5976, allocations: 1.062 MB / 0.5403 GB, free: 2.449 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.591e-05/0.5977, allocations: 16.47 kB / 0.5403 GB, free: 2.449 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.38e-05/0.5978, allocations: 26.02 kB / 0.5403 GB, free: 2.449 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001559/0.5994, allocations: 0.695 MB / 0.541 GB, free: 2.422 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.5994, allocations: 1.25 kB / 0.541 GB, free: 2.422 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.5994, allocations: 4.719 kB / 0.541 GB, free: 2.422 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.5994, allocations: 1.094 kB / 0.541 GB, free: 2.422 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.0006069/0.6, allocations: 462 kB / 0.5414 GB, free: 18 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.6001, allocations: 12.55 kB / 0.5415 GB, free: 18 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004918/0.6006, allocations: 74.02 kB / 0.5415 GB, free: 18 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.6008, allocations: 194.7 kB / 0.5417 GB, free: 17.79 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.6008, allocations: 1.688 kB / 0.5417 GB, free: 17.79 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.6008, allocations: 10.22 kB / 0.5417 GB, free: 17.79 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.601, allocations: 69.17 kB / 0.5418 GB, free: 17.74 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.601, allocations: 4.25 kB / 0.5418 GB, free: 17.74 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.601, allocations: 6.672 kB / 0.5418 GB, free: 17.74 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.601, allocations: 1.969 kB / 0.5418 GB, free: 17.74 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.6011, allocations: 40.27 kB / 0.5418 GB, free: 17.74 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001858/0.6013, allocations: 191 kB / 0.542 GB, free: 17.55 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/0.6016, allocations: 119.6 kB / 0.5421 GB, free: 17.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.726e-05/0.6017, allocations: 38.42 kB / 0.5422 GB, free: 17.48 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004993/0.6022, allocations: 134.3 kB / 0.5423 GB, free: 17.39 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.6023, allocations: 32.72 kB / 0.5423 GB, free: 17.35 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 2.104e-06/0.6023, allocations: 3.797 kB / 0.5423 GB, free: 17.35 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003839/0.6027, allocations: 126.1 kB / 0.5425 GB, free: 17.31 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.6027, allocations: 79.23 kB / 0.5425 GB, free: 17.22 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.6028, allocations: 137.4 kB / 0.5427 GB, free: 17.12 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.6029, allocations: 30.08 kB / 0.5427 GB, free: 17.09 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.154e-05/0.6029, allocations: 89.5 kB / 0.5428 GB, free: 17.01 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.6029, allocations: 21.3 kB / 0.5428 GB, free: 16.99 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.603, allocations: 21.95 kB / 0.5428 GB, free: 16.98 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.6031, allocations: 319.7 kB / 0.5431 GB, free: 16.66 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.827e-05/0.6032, allocations: 22.7 kB / 0.5431 GB, free: 16.66 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.616e-05/0.6033, allocations: 51.25 kB / 0.5432 GB, free: 16.63 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.6034, allocations: 81.41 kB / 0.5433 GB, free: 16.6 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.6034, allocations: 0.875 kB / 0.5433 GB, free: 16.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002265/0.6037, allocations: 118.4 kB / 0.5434 GB, free: 16.56 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.6037, allocations: 5.375 kB / 0.5434 GB, free: 16.56 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.6037, allocations: 3.344 kB / 0.5434 GB, free: 16.56 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.6037, allocations: 0 / 0.5434 GB, free: 16.56 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.374e-05/0.6038, allocations: 15.75 kB / 0.5434 GB, free: 16.56 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.6038, allocations: 7.219 kB / 0.5434 GB, free: 16.56 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.664e-05/0.6038, allocations: 7.156 kB / 0.5434 GB, free: 16.56 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.6039, allocations: 6.562 kB / 0.5434 GB, free: 16.56 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 6.799e-05/0.6039, allocations: 116.7 kB / 0.5435 GB, free: 16.45 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.425e-05/0.604, allocations: 7.547 kB / 0.5435 GB, free: 16.44 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.6042, allocations: 112.2 kB / 0.5437 GB, free: 16.41 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.6042, allocations: 0.75 kB / 0.5437 GB, free: 16.41 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.6043, allocations: 1.906 kB / 0.5437 GB, free: 16.41 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.6043, allocations: 3.469 kB / 0.5437 GB, free: 16.41 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.6044, allocations: 189.4 kB / 0.5438 GB, free: 16.21 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.6044, allocations: 0.7344 kB / 0.5438 GB, free: 16.21 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.014e-05/0.6045, allocations: 17.69 kB / 0.5439 GB, free: 16.21 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.6045, allocations: 1.844 kB / 0.5439 GB, free: 16.21 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.6045, allocations: 3.75 kB / 0.5439 GB, free: 16.21 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.6045, allocations: 2.031 kB / 0.5439 GB, free: 16.21 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.6045, allocations: 3.844 kB / 0.5439 GB, free: 16.21 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.6048, allocations: 165.7 kB / 0.544 GB, free: 16.13 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.484e-05/0.6049, allocations: 90.34 kB / 0.5441 GB, free: 16.03 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.6049, allocations: 3.188 kB / 0.5441 GB, free: 16.03 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.186e-05/0.605, allocations: 0.9375 kB / 0.5441 GB, free: 16.03 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.605, allocations: 10.44 kB / 0.5441 GB, free: 16.03 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.605, allocations: 6.75 kB / 0.5441 GB, free: 16.03 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.324e-05/0.6051, allocations: 114.3 kB / 0.5442 GB, free: 15.95 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6051, allocations: 0 / 0.5442 GB, free: 15.95 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004538/0.6056, allocations: 167.8 kB / 0.5444 GB, free: 15.92 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 (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0009034/0.6065, allocations: 441.5 kB / 0.5448 GB, free: 15.79 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001784/0.6067, allocations: 61.62 kB / 0.5449 GB, free: 15.79 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.6067, allocations: 0.6562 kB / 0.5449 GB, free: 15.79 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 6.588e-05/0.6067, allocations: 30.84 kB / 0.5449 GB, free: 15.79 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.607, allocations: 28.66 kB / 0.5449 GB, free: 15.78 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004535/0.6075, allocations: 297.5 kB / 0.5452 GB, free: 15.62 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.6077, allocations: 0.6966 MB / 0.5459 GB, free: 14.92 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 5.444e-05/0.6078, allocations: 19.45 kB / 0.5459 GB, free: 14.92 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.6078, allocations: 17.38 kB / 0.5459 GB, free: 14.91 MB / 478.1 MB Notification: Performance of SimCode: time 2.61e-07/0.6078, allocations: 0.8125 kB / 0.5459 GB, free: 14.91 MB / 478.1 MB Notification: Performance of Templates: time 0.007263/0.6151, allocations: 4.731 MB / 0.5506 GB, free: 14.66 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches