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.001103/0.001103, allocations: 104.3 kB / 17.06 MB, free: 6.102 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.001109/0.001109, allocations: 196.1 kB / 18 MB, free: 5.176 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.307/1.307, allocations: 222.9 MB / 241.7 MB, free: 15.06 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00097/0.00097, allocations: 47.92 kB / 351.3 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2318, allocations: 49.44 MB / 400.7 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.00229/0.2341, allocations: 1.37 MB / 402.1 MB, free: 7.496 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1523/0.3864, allocations: 149.1 MB / 0.5382 GB, free: 1.855 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.971e-05/0.3865, allocations: 0 / 0.5382 GB, free: 1.855 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.822e-05/0.3866, allocations: 3.984 kB / 0.5382 GB, free: 1.852 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001168/0.3878, allocations: 390.4 kB / 0.5386 GB, free: 1.469 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.389, allocations: 0.5021 MB / 0.5391 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.3891, allocations: 67.72 kB / 0.5392 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.658e-05/0.3891, allocations: 7.984 kB / 0.5392 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.806e-05/0.3892, allocations: 35.84 kB / 0.5392 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.877e-05/0.3893, allocations: 31.84 kB / 0.5392 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.3893, allocations: 4 kB / 0.5392 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.212/0.6014, allocations: 1.077 MB / 0.5403 GB, free: 2.414 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.48e-05/0.6015, allocations: 19.05 kB / 0.5403 GB, free: 2.414 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.756e-05/0.6015, allocations: 24.53 kB / 0.5403 GB, free: 2.414 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001566/0.6031, allocations: 0.6875 MB / 0.541 GB, free: 2.406 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.6031, allocations: 4.188 kB / 0.541 GB, free: 2.406 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.6031, allocations: 0.5312 kB / 0.541 GB, free: 2.406 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.6031, allocations: 0 / 0.541 GB, free: 2.406 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.0006011/0.6038, allocations: 458.3 kB / 0.5414 GB, free: 18 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.6038, allocations: 10.12 kB / 0.5414 GB, free: 18 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004734/0.6043, allocations: 71.38 kB / 0.5415 GB, free: 18 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.6045, allocations: 197.5 kB / 0.5417 GB, free: 17.79 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.6045, allocations: 5.156 kB / 0.5417 GB, free: 17.79 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.6045, allocations: 6.938 kB / 0.5417 GB, free: 17.79 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.6047, allocations: 72.33 kB / 0.5418 GB, free: 17.74 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.6047, allocations: 0.9062 kB / 0.5418 GB, free: 17.74 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.6047, allocations: 4.688 kB / 0.5418 GB, free: 17.74 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.6047, allocations: 0.875 kB / 0.5418 GB, free: 17.74 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.6048, allocations: 40.3 kB / 0.5418 GB, free: 17.74 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/0.605, allocations: 192.9 kB / 0.542 GB, free: 17.55 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.6053, allocations: 118.9 kB / 0.5421 GB, free: 17.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.77e-05/0.6054, allocations: 37.31 kB / 0.5422 GB, free: 17.48 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005279/0.6059, allocations: 137.8 kB / 0.5423 GB, free: 17.39 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.606, allocations: 33.09 kB / 0.5423 GB, free: 17.35 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.606, allocations: 0.8125 kB / 0.5423 GB, free: 17.35 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003797/0.6064, allocations: 123 kB / 0.5424 GB, free: 17.31 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.6064, allocations: 82.58 kB / 0.5425 GB, free: 17.22 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.6066, allocations: 142.4 kB / 0.5427 GB, free: 17.12 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.6066, allocations: 27.53 kB / 0.5427 GB, free: 17.09 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/0.6066, allocations: 91.56 kB / 0.5428 GB, free: 17.01 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.6067, allocations: 22.47 kB / 0.5428 GB, free: 16.99 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.6067, allocations: 22.91 kB / 0.5428 GB, free: 16.98 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.6068, allocations: 319.1 kB / 0.5431 GB, free: 16.66 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.789e-05/0.6069, allocations: 20.23 kB / 0.5431 GB, free: 16.66 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.679e-05/0.607, allocations: 50.95 kB / 0.5432 GB, free: 16.63 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.6072, allocations: 83.55 kB / 0.5433 GB, free: 16.6 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6072, allocations: 0.6875 kB / 0.5433 GB, free: 16.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002358/0.6074, allocations: 112.1 kB / 0.5434 GB, free: 16.57 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.6074, allocations: 6.062 kB / 0.5434 GB, free: 16.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.6074, allocations: 2.297 kB / 0.5434 GB, free: 16.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.6075, allocations: 3.5 kB / 0.5434 GB, free: 16.57 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.604e-05/0.6075, allocations: 16.64 kB / 0.5434 GB, free: 16.57 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.6075, allocations: 3.875 kB / 0.5434 GB, free: 16.57 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.787e-05/0.6076, allocations: 9.812 kB / 0.5434 GB, free: 16.56 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.6076, allocations: 6.391 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.844e-05/0.6077, allocations: 119.5 kB / 0.5435 GB, free: 16.45 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.343e-05/0.6077, allocations: 5.312 kB / 0.5435 GB, free: 16.45 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/0.608, allocations: 118.1 kB / 0.5437 GB, free: 16.4 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.608, allocations: 0.875 kB / 0.5437 GB, free: 16.4 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.608, allocations: 0 / 0.5437 GB, free: 16.4 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.608, allocations: 6.391 kB / 0.5437 GB, free: 16.4 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.6081, allocations: 191.3 kB / 0.5438 GB, free: 16.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.6081, allocations: 1.375 kB / 0.5438 GB, free: 16.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.242e-05/0.6082, allocations: 13.3 kB / 0.5439 GB, free: 16.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.6082, allocations: 2.359 kB / 0.5439 GB, free: 16.2 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/0.6082, allocations: 4.906 kB / 0.5439 GB, free: 16.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.6083, allocations: 1.656 kB / 0.5439 GB, free: 16.2 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.6083, allocations: 2.703 kB / 0.5439 GB, free: 16.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.6086, allocations: 166.4 kB / 0.544 GB, free: 16.12 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/0.6086, allocations: 89.38 kB / 0.5441 GB, free: 16.03 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.6087, allocations: 1.531 kB / 0.5441 GB, free: 16.03 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.326e-05/0.6087, allocations: 4.656 kB / 0.5441 GB, free: 16.03 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.6088, allocations: 6.828 kB / 0.5441 GB, free: 16.03 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.6088, allocations: 3.312 kB / 0.5441 GB, free: 16.03 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.651e-05/0.6088, allocations: 113.1 kB / 0.5442 GB, free: 15.96 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6088, allocations: 0.8125 kB / 0.5442 GB, free: 15.96 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005066/0.6094, allocations: 161.5 kB / 0.5444 GB, free: 15.93 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.0008994/0.6103, allocations: 436.1 kB / 0.5448 GB, free: 15.79 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001826/0.6105, allocations: 64.61 kB / 0.5449 GB, free: 15.79 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.6105, allocations: 0 / 0.5449 GB, free: 15.79 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 6.684e-05/0.6105, allocations: 35.55 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.0002467/0.6108, allocations: 35.7 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.0004588/0.6113, allocations: 305.5 kB / 0.5452 GB, free: 15.62 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.6115, allocations: 0.6968 MB / 0.5459 GB, free: 14.92 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 4.86e-05/0.6116, allocations: 14.28 kB / 0.5459 GB, free: 14.91 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.766e-05/0.6116, allocations: 15.72 kB / 0.5459 GB, free: 14.91 MB / 478.1 MB Notification: Performance of SimCode: time 2.61e-07/0.6116, allocations: 1.609 kB / 0.5459 GB, free: 14.91 MB / 478.1 MB Notification: Performance of Templates: time 0.007416/0.619, allocations: 4.715 MB / 0.5505 GB, free: 14.68 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