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.001246/0.001246, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.00143/0.00143, allocations: 211.5 kB / 23.73 MB, free: 4.523 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.372/1.372, allocations: 230.6 MB / 257.5 MB, free: 7.789 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: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 51.92 kB / 377.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2297, allocations: 53.36 MB / 431.1 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.00234/0.232, allocations: 1.362 MB / 432.4 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3747/0.6068, allocations: 130.9 MB / 0.5501 GB, free: 15.98 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.216e-05/0.6068, allocations: 2.906 kB / 0.5501 GB, free: 15.98 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.957e-05/0.6069, allocations: 5.297 kB / 0.5502 GB, free: 15.98 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009806/0.6079, allocations: 384 kB / 0.5505 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009379/0.6088, allocations: 0.5153 MB / 0.551 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.75e-05/0.6089, allocations: 74 kB / 0.5511 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.533e-05/0.6089, allocations: 5.766 kB / 0.5511 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.314e-05/0.609, allocations: 37.41 kB / 0.5511 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.895e-05/0.6091, allocations: 33.55 kB / 0.5512 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.6091, allocations: 2.156 kB / 0.5512 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001424/0.6105, allocations: 0.9589 MB / 0.5521 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.845e-05/0.6105, allocations: 18.83 kB / 0.5521 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.6e-05/0.6106, allocations: 25.41 kB / 0.5521 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008457/0.6114, allocations: 0.6685 MB / 0.5528 GB, free: 15.9 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.6114, allocations: 0 / 0.5528 GB, free: 15.9 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6114, allocations: 0 / 0.5528 GB, free: 15.9 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.6114, allocations: 4 kB / 0.5528 GB, free: 15.9 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.0005841/0.612, allocations: 386.7 kB / 0.5532 GB, free: 15.57 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.612, allocations: 9.844 kB / 0.5532 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.59e-05/0.6121, allocations: 32.22 kB / 0.5532 GB, free: 15.53 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004453/0.6125, allocations: 71.58 kB / 0.5533 GB, free: 15.53 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.6127, allocations: 144.9 kB / 0.5534 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.6127, allocations: 5.375 kB / 0.5534 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.6127, allocations: 6.031 kB / 0.5534 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.6129, allocations: 74.88 kB / 0.5535 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.6129, allocations: 4 kB / 0.5535 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.6129, allocations: 1.375 kB / 0.5535 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.6129, allocations: 0 / 0.5535 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.822e-05/0.613, allocations: 44.73 kB / 0.5535 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001938/0.6132, allocations: 158.6 kB / 0.5537 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002966/0.6135, allocations: 118.8 kB / 0.5538 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.052e-05/0.6136, allocations: 32.94 kB / 0.5538 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004764/0.6141, allocations: 68.25 kB / 0.5539 GB, free: 15.1 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.6141, allocations: 32.72 kB / 0.5539 GB, free: 15.06 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.6141, allocations: 0 / 0.5539 GB, free: 15.06 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003214/0.6144, allocations: 117.2 kB / 0.5541 GB, free: 15.03 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.6145, allocations: 81.92 kB / 0.5541 GB, free: 14.93 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.6146, allocations: 148 kB / 0.5543 GB, free: 14.83 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.6146, allocations: 26.8 kB / 0.5543 GB, free: 14.8 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.368e-05/0.6146, allocations: 89.22 kB / 0.5544 GB, free: 14.72 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.6147, allocations: 21.17 kB / 0.5544 GB, free: 14.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.6147, allocations: 21.59 kB / 0.5544 GB, free: 14.69 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.6148, allocations: 320.8 kB / 0.5547 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.408e-05/0.6149, allocations: 22.7 kB / 0.5548 GB, free: 14.38 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.545e-05/0.615, allocations: 52.06 kB / 0.5548 GB, free: 14.34 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.6151, allocations: 89.89 kB / 0.5549 GB, free: 14.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.6151, allocations: 0 / 0.5549 GB, free: 14.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002249/0.6153, allocations: 106.2 kB / 0.555 GB, free: 14.27 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.6154, allocations: 9.797 kB / 0.555 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.6154, allocations: 0 / 0.555 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.6154, allocations: 0 / 0.555 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.489e-05/0.6154, allocations: 19.33 kB / 0.555 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.6154, allocations: 1.719 kB / 0.555 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.068e-05/0.6155, allocations: 14.89 kB / 0.555 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.6155, allocations: 2.219 kB / 0.555 GB, free: 14.26 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 8.612e-05/0.6156, allocations: 123.5 kB / 0.5552 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.937e-05/0.6156, allocations: 3.625 kB / 0.5552 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002292/0.6159, allocations: 119.7 kB / 0.5553 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.6159, allocations: 0 / 0.5553 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.6159, allocations: 5.672 kB / 0.5553 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.6159, allocations: 0 / 0.5553 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.616, allocations: 157.5 kB / 0.5554 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.616, allocations: 0 / 0.5554 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.562e-05/0.6161, allocations: 17.58 kB / 0.5554 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.6161, allocations: 7.484 kB / 0.5554 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.6161, allocations: 4 kB / 0.5555 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.6161, allocations: 3.047 kB / 0.5555 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6161, allocations: 0 / 0.5555 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002968/0.6164, allocations: 163.7 kB / 0.5556 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.969e-05/0.6164, allocations: 14.12 kB / 0.5556 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.6165, allocations: 1.094 kB / 0.5556 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.476e-05/0.6165, allocations: 3.625 kB / 0.5556 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.6165, allocations: 12.36 kB / 0.5556 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.6165, allocations: 0 / 0.5556 GB, free: 13.84 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.006e-05/0.6166, allocations: 116.2 kB / 0.5558 GB, free: 13.76 MB / 462.1 MB Notification: Performance of sort global known variables: time 5e-08/0.6166, allocations: 0 / 0.5558 GB, free: 13.76 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004771/0.6171, allocations: 169 kB / 0.5559 GB, free: 13.73 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.001302/0.6184, allocations: 1.002 MB / 0.5569 GB, free: 13.07 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001848/0.6186, allocations: 59.27 kB / 0.5569 GB, free: 13.07 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.6186, allocations: 0 / 0.5569 GB, free: 13.07 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.923e-05/0.6186, allocations: 37.34 kB / 0.557 GB, free: 13.07 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.6189, allocations: 27.36 kB / 0.557 GB, free: 13.06 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.6207, allocations: 1.746 MB / 0.5587 GB, free: 11.76 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.46e-05/0.6207, allocations: 75.73 kB / 0.5588 GB, free: 11.69 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.717e-05/0.6208, allocations: 9.641 kB / 0.5588 GB, free: 11.69 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.829e-05/0.6208, allocations: 32.53 kB / 0.5588 GB, free: 11.67 MB / 462.1 MB Notification: Performance of SimCode: time 2.9e-07/0.6208, allocations: 0 / 0.5588 GB, free: 11.67 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03381/0.6546, allocations: 6.951 MB / 0.5656 GB, free: 10.36 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/11.22, allocations: 7.938 kB / 0.5656 GB, free: 10.35 MB / 462.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX.fmu > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] 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: 13.577981593989534]