Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 116.5 kB / 18.45 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001846/0.001846, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.519/1.519, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 47.92 kB / 374.1 MB, free: 9.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09942/0.1009, allocations: 53.33 MB / 427.5 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002511/0.1034, allocations: 1.398 MB / 428.9 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3772/0.4806, allocations: 152.4 MB / 0.5676 GB, free: 6.43 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.712e-05/0.4807, allocations: 0 / 0.5676 GB, free: 6.43 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.306e-05/0.4807, allocations: 9.422 kB / 0.5676 GB, free: 6.422 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00128/0.482, allocations: 374.4 kB / 0.568 GB, free: 6.055 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.4833, allocations: 0.5103 MB / 0.5685 GB, free: 5.547 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.4835, allocations: 75.64 kB / 0.5685 GB, free: 5.473 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.999e-05/0.4835, allocations: 4 kB / 0.5686 GB, free: 5.469 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.881e-05/0.4836, allocations: 35.84 kB / 0.5686 GB, free: 5.434 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.379e-05/0.4837, allocations: 27.91 kB / 0.5686 GB, free: 5.406 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.4837, allocations: 4 kB / 0.5686 GB, free: 5.402 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002007/0.4857, allocations: 1.138 MB / 0.5697 GB, free: 4.262 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.938e-05/0.4857, allocations: 15.97 kB / 0.5697 GB, free: 4.246 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.175e-05/0.4858, allocations: 23.88 kB / 0.5698 GB, free: 4.223 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.4869, allocations: 0.695 MB / 0.5704 GB, free: 3.531 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.4869, allocations: 4 kB / 0.5704 GB, free: 3.527 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4869, allocations: 0 / 0.5704 GB, free: 3.527 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.4869, allocations: 0 / 0.5704 GB, free: 3.527 MB / 478.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.0006798/0.4876, allocations: 466.2 kB / 0.5709 GB, free: 3.023 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.4876, allocations: 14.5 kB / 0.5709 GB, free: 3.012 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004907/0.4881, allocations: 72.78 kB / 0.571 GB, free: 2.941 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.4883, allocations: 192.3 kB / 0.5712 GB, free: 2.715 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.4883, allocations: 3.938 kB / 0.5712 GB, free: 2.711 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.4884, allocations: 12 kB / 0.5712 GB, free: 2.699 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.4885, allocations: 75.31 kB / 0.5712 GB, free: 2.613 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.4885, allocations: 0 / 0.5712 GB, free: 2.613 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.4886, allocations: 0 / 0.5712 GB, free: 2.613 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.4886, allocations: 4 kB / 0.5712 GB, free: 2.609 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.4887, allocations: 43.91 kB / 0.5713 GB, free: 2.566 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002364/0.4889, allocations: 194.5 kB / 0.5715 GB, free: 2.324 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003381/0.4893, allocations: 117.1 kB / 0.5716 GB, free: 2.191 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.426e-05/0.4893, allocations: 37.77 kB / 0.5716 GB, free: 2.148 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005329/0.4899, allocations: 133 kB / 0.5718 GB, free: 2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.4899, allocations: 30.56 kB / 0.5718 GB, free: 1.961 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.4899, allocations: 0 / 0.5718 GB, free: 1.961 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003784/0.4903, allocations: 129.5 kB / 0.5719 GB, free: 1.828 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.4903, allocations: 77.11 kB / 0.572 GB, free: 1.734 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.4905, allocations: 141.8 kB / 0.5721 GB, free: 1.586 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.4905, allocations: 25.7 kB / 0.5721 GB, free: 1.555 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.645e-05/0.4905, allocations: 84.14 kB / 0.5722 GB, free: 1.469 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.918e-05/0.4906, allocations: 27.78 kB / 0.5722 GB, free: 1.441 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.119e-05/0.4906, allocations: 21.7 kB / 0.5723 GB, free: 1.414 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.4907, allocations: 326.8 kB / 0.5726 GB, free: 1.086 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.293e-05/0.4908, allocations: 19.98 kB / 0.5726 GB, free: 1.066 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.672e-05/0.4909, allocations: 55.3 kB / 0.5726 GB, free: 1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.4911, allocations: 79.34 kB / 0.5727 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4911, allocations: 4 kB / 0.5727 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002671/0.4913, allocations: 117.9 kB / 0.5728 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.4913, allocations: 8 kB / 0.5728 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4914, allocations: 0 / 0.5728 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.4914, allocations: 0 / 0.5728 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.022e-05/0.4914, allocations: 12 kB / 0.5729 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.4914, allocations: 4 kB / 0.5729 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.968e-05/0.4915, allocations: 7.938 kB / 0.5729 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.4915, allocations: 8.109 kB / 0.5729 GB, free: 0.7461 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 8.912e-05/0.4916, allocations: 121.7 kB / 0.573 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.652e-05/0.4916, allocations: 7.984 kB / 0.573 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002673/0.4919, allocations: 121.6 kB / 0.5731 GB, free: 496 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.4919, allocations: 0 / 0.5731 GB, free: 496 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.4919, allocations: 3.984 kB / 0.5731 GB, free: 492 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4919, allocations: 0 / 0.5731 GB, free: 492 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.4921, allocations: 181.6 kB / 0.5733 GB, free: 260 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4921, allocations: 4 kB / 0.5733 GB, free: 256 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.199e-05/0.4922, allocations: 16.92 kB / 0.5733 GB, free: 240 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.4922, allocations: 0 / 0.5733 GB, free: 240 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.4922, allocations: 4 kB / 0.5733 GB, free: 236 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4922, allocations: 0 / 0.5733 GB, free: 236 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4922, allocations: 0 / 0.5733 GB, free: 236 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003549/0.4925, allocations: 172.3 kB / 0.5735 GB, free: 44 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.495e-05/0.4926, allocations: 89.06 kB / 0.5736 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.4926, allocations: 0 / 0.5736 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.624e-05/0.4927, allocations: 4 kB / 0.5736 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.4927, allocations: 7.984 kB / 0.5736 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.4927, allocations: 4 kB / 0.5736 GB, free: 15.92 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.4e-05/0.4928, allocations: 111.2 kB / 0.5737 GB, free: 15.81 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4928, allocations: 0 / 0.5737 GB, free: 15.81 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005679/0.4934, allocations: 163.4 kB / 0.5738 GB, free: 15.65 MB / 494.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.0009204/0.4943, allocations: 426.8 kB / 0.5743 GB, free: 15.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002233/0.4945, allocations: 59.91 kB / 0.5743 GB, free: 15.17 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4945, allocations: 0 / 0.5743 GB, free: 15.17 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.358e-05/0.4946, allocations: 39.91 kB / 0.5743 GB, free: 15.13 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.4949, allocations: 24.41 kB / 0.5744 GB, free: 15.11 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000589/0.4955, allocations: 346.8 kB / 0.5747 GB, free: 14.74 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.4958, allocations: 0.6885 MB / 0.5754 GB, free: 14.03 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.264e-05/0.4958, allocations: 15.44 kB / 0.5754 GB, free: 14.01 MB / 494.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4958, allocations: 0 / 0.5754 GB, free: 14.01 MB / 494.1 MB Notification: Performance of Templates: time 0.006893/0.5027, allocations: 4.054 MB / 0.5793 GB, free: 9.977 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.919232362997718]