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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 104.6 kB / 19.61 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002492/0.002492, allocations: 196.8 kB / 22.76 MB, free: 5.48 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 251.4 MB, free: 13.4 MB / 206.1 MB [Timeout remaining time 88] 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=5002,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=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 51.91 kB / 369.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2554, allocations: 52.14 MB / 421.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002481/0.2579, allocations: 1.385 MB / 422.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.4385/0.6963, allocations: 149.5 MB / 0.5587 GB, free: 13.75 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.155e-05/0.6964, allocations: 2.75 kB / 0.5588 GB, free: 13.75 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 5.027e-05/0.6964, allocations: 1.781 kB / 0.5588 GB, free: 13.75 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.6978, allocations: 382.9 kB / 0.5591 GB, free: 13.66 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.699, allocations: 0.5032 MB / 0.5596 GB, free: 13.58 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.6992, allocations: 73.08 kB / 0.5597 GB, free: 13.56 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.529e-05/0.6992, allocations: 2.391 kB / 0.5597 GB, free: 13.56 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.809e-05/0.6993, allocations: 39.84 kB / 0.5597 GB, free: 13.56 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.953e-05/0.6994, allocations: 33.19 kB / 0.5598 GB, free: 13.56 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.6994, allocations: 0 / 0.5598 GB, free: 13.56 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001886/0.7013, allocations: 1.123 MB / 0.5608 GB, free: 13.45 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.38e-05/0.7013, allocations: 17.47 kB / 0.5609 GB, free: 13.45 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.994e-05/0.7013, allocations: 31.52 kB / 0.5609 GB, free: 13.45 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.7025, allocations: 0.6963 MB / 0.5616 GB, free: 13.39 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.7025, allocations: 0 / 0.5616 GB, free: 13.39 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.7025, allocations: 0 / 0.5616 GB, free: 13.39 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.7025, allocations: 0 / 0.5616 GB, free: 13.39 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.0007107/0.7032, allocations: 466.3 kB / 0.562 GB, free: 12.97 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.7033, allocations: 9.781 kB / 0.562 GB, free: 12.97 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004594/0.7037, allocations: 71.17 kB / 0.5621 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.7039, allocations: 194.8 kB / 0.5623 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.7039, allocations: 16.75 kB / 0.5623 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.704, allocations: 2.906 kB / 0.5623 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.7041, allocations: 70.77 kB / 0.5624 GB, free: 12.71 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.7042, allocations: 3.938 kB / 0.5624 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.7042, allocations: 1.828 kB / 0.5624 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.7042, allocations: 0 / 0.5624 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.798e-05/0.7043, allocations: 42.55 kB / 0.5624 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002449/0.7045, allocations: 198.7 kB / 0.5626 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000317/0.7048, allocations: 116.4 kB / 0.5627 GB, free: 12.44 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.524e-05/0.7049, allocations: 33.81 kB / 0.5627 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005663/0.7055, allocations: 136.9 kB / 0.5629 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.7055, allocations: 35.69 kB / 0.5629 GB, free: 12.29 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.7055, allocations: 4 kB / 0.5629 GB, free: 12.28 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003556/0.7059, allocations: 121.5 kB / 0.563 GB, free: 12.24 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.132e-05/0.7059, allocations: 77.11 kB / 0.5631 GB, free: 12.15 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.7061, allocations: 142.2 kB / 0.5632 GB, free: 12.05 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.7061, allocations: 28.28 kB / 0.5633 GB, free: 12.02 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.183e-05/0.7061, allocations: 86.05 kB / 0.5633 GB, free: 11.94 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.855e-05/0.7062, allocations: 22.84 kB / 0.5634 GB, free: 11.93 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.7062, allocations: 23.53 kB / 0.5634 GB, free: 11.91 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.7064, allocations: 319.2 kB / 0.5637 GB, free: 11.59 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.502e-05/0.7064, allocations: 31.69 kB / 0.5637 GB, free: 11.59 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.711e-05/0.7065, allocations: 47.67 kB / 0.5638 GB, free: 11.56 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.7067, allocations: 85.67 kB / 0.5639 GB, free: 11.52 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.7067, allocations: 6.844 kB / 0.5639 GB, free: 11.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002405/0.7069, allocations: 108.3 kB / 0.564 GB, free: 11.47 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.7069, allocations: 7.312 kB / 0.564 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.7069, allocations: 3.219 kB / 0.564 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.707, allocations: 0 / 0.564 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.936e-05/0.707, allocations: 15.77 kB / 0.564 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.707, allocations: 7 kB / 0.564 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.105e-05/0.7071, allocations: 12.12 kB / 0.564 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.7071, allocations: 4.812 kB / 0.564 GB, free: 11.46 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 0.0001021/0.7072, allocations: 121.3 kB / 0.5641 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.237e-05/0.7073, allocations: 9.641 kB / 0.5641 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.7075, allocations: 111.5 kB / 0.5642 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.7075, allocations: 2.781 kB / 0.5642 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.7075, allocations: 0 / 0.5642 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.7075, allocations: 0 / 0.5642 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.7077, allocations: 187.1 kB / 0.5644 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.7077, allocations: 5.578 kB / 0.5644 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.67e-05/0.7078, allocations: 12.28 kB / 0.5644 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.7078, allocations: 0 / 0.5644 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.7078, allocations: 6.438 kB / 0.5644 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.7078, allocations: 0 / 0.5644 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.7078, allocations: 4 kB / 0.5645 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003206/0.7081, allocations: 172.9 kB / 0.5646 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.134e-05/0.7082, allocations: 88.89 kB / 0.5647 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.7082, allocations: 2.625 kB / 0.5647 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.29e-05/0.7082, allocations: 1.781 kB / 0.5647 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.7083, allocations: 7.234 kB / 0.5647 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.7083, allocations: 1.094 kB / 0.5647 GB, free: 10.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.02e-05/0.7084, allocations: 115.8 kB / 0.5648 GB, free: 10.83 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7084, allocations: 0 / 0.5648 GB, free: 10.83 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006329/0.709, allocations: 167.8 kB / 0.565 GB, free: 10.79 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 (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.001037/0.71, allocations: 427.9 kB / 0.5654 GB, free: 10.64 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002317/0.7103, allocations: 65.59 kB / 0.5655 GB, free: 10.64 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.7103, allocations: 0 / 0.5655 GB, free: 10.64 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.086e-05/0.7103, allocations: 34 kB / 0.5655 GB, free: 10.64 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.7106, allocations: 27.8 kB / 0.5655 GB, free: 10.63 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000591/0.7112, allocations: 328.2 kB / 0.5658 GB, free: 10.38 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.7115, allocations: 0.6962 MB / 0.5665 GB, free: 9.672 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.959e-05/0.7115, allocations: 18.81 kB / 0.5665 GB, free: 9.664 MB / 462.1 MB Notification: Performance of SimCode: time 3.71e-07/0.7115, allocations: 0 / 0.5665 GB, free: 9.664 MB / 462.1 MB Notification: Performance of Templates: time 0.006808/0.7183, allocations: 4.007 MB / 0.5704 GB, free: 9.164 MB / 462.1 MB [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins1/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/jenkins1/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) [Timeout 660] [Timeout remaining time 660] Reference file matches