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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001278/0.001278, allocations: 117.1 kB / 17.83 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001436/0.001436, allocations: 211.7 kB / 18.79 MB, free: 4.383 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.42/1.42, allocations: 230.4 MB / 250 MB, free: 9.016 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.001933/0.001933, allocations: 79.75 kB / 367.3 MB, free: 7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2241, allocations: 53.31 MB / 420.7 MB, free: 8.301 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002321/0.2264, allocations: 1.378 MB / 422 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3826/0.6091, allocations: 152.3 MB / 0.5609 GB, free: 15.35 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.243e-05/0.6091, allocations: 1.375 kB / 0.5609 GB, free: 15.35 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.433e-05/0.6091, allocations: 11.41 kB / 0.5609 GB, free: 15.34 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001044/0.6102, allocations: 372.3 kB / 0.5613 GB, free: 15.34 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.6112, allocations: 0.511 MB / 0.5618 GB, free: 15.31 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.201e-05/0.6113, allocations: 73.56 kB / 0.5619 GB, free: 15.31 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.235e-05/0.6113, allocations: 10.52 kB / 0.5619 GB, free: 15.31 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.661e-05/0.6114, allocations: 32.09 kB / 0.5619 GB, free: 15.31 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.334e-05/0.6115, allocations: 35.48 kB / 0.5619 GB, free: 15.31 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.6115, allocations: 2.5 kB / 0.5619 GB, free: 15.31 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/0.6129, allocations: 1.134 MB / 0.563 GB, free: 15.3 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.284e-05/0.613, allocations: 11.31 kB / 0.563 GB, free: 15.3 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.442e-05/0.613, allocations: 30.92 kB / 0.5631 GB, free: 15.3 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008455/0.6138, allocations: 0.6908 MB / 0.5638 GB, free: 15.27 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.6138, allocations: 6.094 kB / 0.5638 GB, free: 15.26 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6138, allocations: 0 / 0.5638 GB, free: 15.26 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.6138, allocations: 0 / 0.5638 GB, free: 15.26 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.0007294/0.6146, allocations: 465.5 kB / 0.5642 GB, free: 14.84 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.6146, allocations: 9.75 kB / 0.5642 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004714/0.6151, allocations: 70.81 kB / 0.5643 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.6153, allocations: 200.1 kB / 0.5645 GB, free: 14.63 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.6153, allocations: 6.438 kB / 0.5645 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.6154, allocations: 10.52 kB / 0.5645 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.6156, allocations: 72.67 kB / 0.5646 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.6156, allocations: 2.25 kB / 0.5646 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.6156, allocations: 3.312 kB / 0.5646 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.6156, allocations: 1.094 kB / 0.5646 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.6157, allocations: 40.3 kB / 0.5646 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002355/0.6159, allocations: 191.6 kB / 0.5648 GB, free: 14.38 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003228/0.6163, allocations: 119.1 kB / 0.5649 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.254e-05/0.6163, allocations: 34.72 kB / 0.5649 GB, free: 14.31 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004996/0.6168, allocations: 141.9 kB / 0.5651 GB, free: 14.21 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.6168, allocations: 35.41 kB / 0.5651 GB, free: 14.17 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.6169, allocations: 0 / 0.5651 GB, free: 14.17 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003305/0.6172, allocations: 118.6 kB / 0.5652 GB, free: 14.13 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.6172, allocations: 85.55 kB / 0.5653 GB, free: 14.04 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.6174, allocations: 144.4 kB / 0.5654 GB, free: 13.93 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.6174, allocations: 25.7 kB / 0.5655 GB, free: 13.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.494e-05/0.6174, allocations: 90.44 kB / 0.5655 GB, free: 13.82 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.6175, allocations: 24.25 kB / 0.5656 GB, free: 13.8 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.6175, allocations: 18.84 kB / 0.5656 GB, free: 13.79 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.6176, allocations: 315.9 kB / 0.5659 GB, free: 13.48 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.729e-05/0.6177, allocations: 31.05 kB / 0.5659 GB, free: 13.47 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.481e-05/0.6178, allocations: 50.08 kB / 0.566 GB, free: 13.44 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.6179, allocations: 84.02 kB / 0.566 GB, free: 13.41 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.6179, allocations: 7.938 kB / 0.566 GB, free: 13.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002297/0.6181, allocations: 106.2 kB / 0.5661 GB, free: 13.36 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.6181, allocations: 10.88 kB / 0.5662 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.6181, allocations: 0 / 0.5662 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.6182, allocations: 5.438 kB / 0.5662 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.385e-05/0.6182, allocations: 13.09 kB / 0.5662 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.6182, allocations: 5.594 kB / 0.5662 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.932e-05/0.6183, allocations: 10.17 kB / 0.5662 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.6183, allocations: 2.562 kB / 0.5662 GB, free: 13.36 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.348e-05/0.6184, allocations: 122.3 kB / 0.5663 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.221e-05/0.6184, allocations: 6.062 kB / 0.5663 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00023/0.6187, allocations: 113.2 kB / 0.5664 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.6187, allocations: 96 / 0.5664 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.6187, allocations: 3.984 kB / 0.5664 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.6187, allocations: 2.969 kB / 0.5664 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.6188, allocations: 188 kB / 0.5666 GB, free: 13 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6188, allocations: 2.469 kB / 0.5666 GB, free: 13 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.445e-05/0.6189, allocations: 10.8 kB / 0.5666 GB, free: 13 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.6189, allocations: 6.781 kB / 0.5666 GB, free: 12.99 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.6189, allocations: 0 / 0.5666 GB, free: 12.99 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.6189, allocations: 3.594 kB / 0.5666 GB, free: 12.99 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.6189, allocations: 0 / 0.5666 GB, free: 12.99 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.6192, allocations: 172.6 kB / 0.5668 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.421e-05/0.6193, allocations: 89.2 kB / 0.5669 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.6193, allocations: 4.062 kB / 0.5669 GB, free: 12.81 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.368e-05/0.6193, allocations: 2.875 kB / 0.5669 GB, free: 12.81 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.6194, allocations: 5.5 kB / 0.5669 GB, free: 12.81 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-06/0.6194, allocations: 2.5 kB / 0.5669 GB, free: 12.81 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.544e-05/0.6195, allocations: 122.3 kB / 0.567 GB, free: 12.73 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6195, allocations: 0 / 0.567 GB, free: 12.73 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004507/0.6199, allocations: 165.8 kB / 0.5672 GB, free: 12.7 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.0008908/0.6208, allocations: 435.4 kB / 0.5676 GB, free: 12.55 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001881/0.621, allocations: 61.39 kB / 0.5676 GB, free: 12.55 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.621, allocations: 2.625 kB / 0.5676 GB, free: 12.55 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 6.656e-05/0.6211, allocations: 32.95 kB / 0.5677 GB, free: 12.55 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.6213, allocations: 27.17 kB / 0.5677 GB, free: 12.54 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004859/0.6218, allocations: 304.3 kB / 0.568 GB, free: 12.31 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.6221, allocations: 0.6896 MB / 0.5687 GB, free: 11.62 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 5.977e-05/0.6221, allocations: 27.59 kB / 0.5687 GB, free: 11.6 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.03e-05/0.6221, allocations: 16.5 kB / 0.5687 GB, free: 11.59 MB / 478.1 MB Notification: Performance of SimCode: time 2.7e-07/0.6221, allocations: 0 / 0.5687 GB, free: 11.59 MB / 478.1 MB Notification: Performance of Templates: time 0.007807/0.63, allocations: 4.739 MB / 0.5733 GB, free: 11.1 MB / 478.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (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) 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) Reference file matches