Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001688/0.001688, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001942/0.001942, allocations: 199.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.459/1.459, allocations: 227.7 MB / 247.2 MB, free: 10.17 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 67.89 kB / 359 MB, free: 12.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2352, allocations: 50.54 MB / 409.5 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002336/0.2375, allocations: 1.386 MB / 410.9 MB, free: 0 / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.4083/0.6459, allocations: 151.9 MB / 0.5497 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.751e-05/0.646, allocations: 1.5 kB / 0.5497 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.675e-05/0.6461, allocations: 6.094 kB / 0.5497 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001292/0.6474, allocations: 376.5 kB / 0.55 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.6485, allocations: 0.4999 MB / 0.5505 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.892e-05/0.6486, allocations: 78.12 kB / 0.5506 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.314e-05/0.6486, allocations: 5.641 kB / 0.5506 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.893e-05/0.6487, allocations: 33.06 kB / 0.5506 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.3e-05/0.6488, allocations: 29.72 kB / 0.5507 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.6488, allocations: 6.969 kB / 0.5507 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001427/0.6502, allocations: 1.092 MB / 0.5517 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.51e-05/0.6503, allocations: 13.08 kB / 0.5517 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.661e-05/0.6503, allocations: 27.23 kB / 0.5518 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008346/0.6512, allocations: 0.6939 MB / 0.5524 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.6512, allocations: 0 / 0.5524 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.6512, allocations: 3.656 kB / 0.5524 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.6512, allocations: 0 / 0.5524 GB, free: 0.7812 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.0005953/0.6518, allocations: 467.6 kB / 0.5529 GB, free: 16.36 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.6518, allocations: 11.06 kB / 0.5529 GB, free: 16.36 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004283/0.6523, allocations: 69.8 kB / 0.553 GB, free: 16.35 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.6524, allocations: 199.6 kB / 0.5532 GB, free: 16.15 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.6525, allocations: 7.375 kB / 0.5532 GB, free: 16.14 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.6525, allocations: 2.156 kB / 0.5532 GB, free: 16.14 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.6526, allocations: 74.45 kB / 0.5532 GB, free: 16.1 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.6527, allocations: 0 / 0.5532 GB, free: 16.1 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.6527, allocations: 4.984 kB / 0.5532 GB, free: 16.09 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.6527, allocations: 2.531 kB / 0.5532 GB, free: 16.09 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.605e-05/0.6528, allocations: 40.52 kB / 0.5533 GB, free: 16.09 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001885/0.653, allocations: 192 kB / 0.5535 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.6532, allocations: 115.1 kB / 0.5536 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.504e-05/0.6533, allocations: 40.31 kB / 0.5536 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004587/0.6538, allocations: 135 kB / 0.5537 GB, free: 15.73 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.6538, allocations: 37.22 kB / 0.5538 GB, free: 15.69 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.6538, allocations: 0 / 0.5538 GB, free: 15.69 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003481/0.6542, allocations: 119.6 kB / 0.5539 GB, free: 15.65 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.6543, allocations: 83.58 kB / 0.554 GB, free: 15.56 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.6544, allocations: 141.7 kB / 0.5541 GB, free: 15.46 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.6544, allocations: 28.2 kB / 0.5541 GB, free: 15.43 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.514e-05/0.6544, allocations: 93.78 kB / 0.5542 GB, free: 15.34 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.6545, allocations: 28.09 kB / 0.5543 GB, free: 15.32 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.6545, allocations: 21.91 kB / 0.5543 GB, free: 15.31 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.6547, allocations: 322.5 kB / 0.5546 GB, free: 15 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.318e-05/0.6547, allocations: 18.19 kB / 0.5546 GB, free: 15 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.498e-05/0.6548, allocations: 54.39 kB / 0.5547 GB, free: 14.96 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.6549, allocations: 82 kB / 0.5547 GB, free: 14.93 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.6549, allocations: 3.938 kB / 0.5547 GB, free: 14.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002281/0.6552, allocations: 109.8 kB / 0.5548 GB, free: 14.89 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.6552, allocations: 5.5 kB / 0.5548 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.6552, allocations: 64 / 0.5548 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.6552, allocations: 6.469 kB / 0.5548 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.376e-05/0.6553, allocations: 15.97 kB / 0.5549 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.6553, allocations: 0 / 0.5549 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.606e-05/0.6554, allocations: 10.8 kB / 0.5549 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.6554, allocations: 5.922 kB / 0.5549 GB, free: 14.88 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.55e-05/0.6555, allocations: 121.2 kB / 0.555 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.044e-05/0.6555, allocations: 4.344 kB / 0.555 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.6558, allocations: 116 kB / 0.5551 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.6558, allocations: 2.531 kB / 0.5551 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.6558, allocations: 0 / 0.5551 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.6558, allocations: 0.9375 kB / 0.5551 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.6559, allocations: 189.5 kB / 0.5553 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.6559, allocations: 0 / 0.5553 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.441e-05/0.656, allocations: 17.31 kB / 0.5553 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.656, allocations: 3.688 kB / 0.5553 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.656, allocations: 0 / 0.5553 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.656, allocations: 6.594 kB / 0.5553 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.656, allocations: 0 / 0.5553 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/0.6563, allocations: 169.4 kB / 0.5555 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.114e-05/0.6564, allocations: 86.31 kB / 0.5556 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.6564, allocations: 2.906 kB / 0.5556 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.266e-05/0.6565, allocations: 6.453 kB / 0.5556 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-05/0.6565, allocations: 8.25 kB / 0.5556 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.6565, allocations: 6.656 kB / 0.5556 GB, free: 14.33 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.456e-05/0.6566, allocations: 112.5 kB / 0.5557 GB, free: 14.26 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6566, allocations: 0 / 0.5557 GB, free: 14.26 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004703/0.6571, allocations: 168.5 kB / 0.5559 GB, free: 14.22 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.0009016/0.658, allocations: 427.8 kB / 0.5563 GB, free: 14.08 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.6582, allocations: 62.5 kB / 0.5563 GB, free: 14.08 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6582, allocations: 4.062 kB / 0.5563 GB, free: 14.08 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 6.84e-05/0.6583, allocations: 36.61 kB / 0.5564 GB, free: 14.08 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.6586, allocations: 28.11 kB / 0.5564 GB, free: 14.07 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005028/0.6591, allocations: 313.7 kB / 0.5567 GB, free: 13.84 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.6594, allocations: 0.69 MB / 0.5574 GB, free: 13.14 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 5.28e-05/0.6595, allocations: 19.92 kB / 0.5574 GB, free: 13.13 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.169e-05/0.6595, allocations: 17.27 kB / 0.5574 GB, free: 13.12 MB / 478.1 MB Notification: Performance of SimCode: time 2.6e-07/0.6595, allocations: 0 / 0.5574 GB, free: 13.12 MB / 478.1 MB Notification: Performance of Templates: time 0.007895/0.6674, allocations: 4.728 MB / 0.562 GB, free: 12.63 MB / 478.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches