Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001215/0.001215, allocations: 109.1 kB / 21.22 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00145/0.00145, allocations: 209.3 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 230.5 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 59.91 kB / 378.5 MB, free: 2.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2241, allocations: 53.39 MB / 431.9 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.00238/0.2265, allocations: 1.357 MB / 433.2 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3584/0.5849, allocations: 130.8 MB / 0.5509 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.549e-05/0.5849, allocations: 1.625 kB / 0.5509 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.806e-05/0.585, allocations: 6.844 kB / 0.5509 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001007/0.586, allocations: 383.5 kB / 0.5512 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.587, allocations: 0.5181 MB / 0.5517 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.5871, allocations: 71.27 kB / 0.5518 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.752e-05/0.5872, allocations: 11.09 kB / 0.5518 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.006e-05/0.5872, allocations: 39.39 kB / 0.5519 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.305e-05/0.5873, allocations: 32.53 kB / 0.5519 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.5873, allocations: 7.594 kB / 0.5519 GB, free: 15.9 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.5887, allocations: 0.9572 MB / 0.5528 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.156e-05/0.5887, allocations: 15.59 kB / 0.5528 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.785e-05/0.5888, allocations: 26.67 kB / 0.5529 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009489/0.5897, allocations: 0.6653 MB / 0.5535 GB, free: 15.86 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.5897, allocations: 0 / 0.5535 GB, free: 15.86 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.5897, allocations: 2.344 kB / 0.5535 GB, free: 15.86 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.5897, allocations: 0.6562 kB / 0.5535 GB, free: 15.86 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.0005809/0.5903, allocations: 389.3 kB / 0.5539 GB, free: 15.53 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.5904, allocations: 9.625 kB / 0.5539 GB, free: 15.53 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.296e-05/0.5904, allocations: 4.625 kB / 0.5539 GB, free: 15.53 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.561e-05/0.5904, allocations: 33.14 kB / 0.5539 GB, free: 15.49 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004451/0.5908, allocations: 70.31 kB / 0.554 GB, free: 15.48 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.591, allocations: 144.1 kB / 0.5541 GB, free: 15.35 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.591, allocations: 8.656 kB / 0.5541 GB, free: 15.35 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.591, allocations: 4.906 kB / 0.5542 GB, free: 15.35 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.5912, allocations: 71.28 kB / 0.5542 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.5912, allocations: 1.375 kB / 0.5542 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.5912, allocations: 4 kB / 0.5542 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.5912, allocations: 1.375 kB / 0.5542 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.115e-05/0.5913, allocations: 46.5 kB / 0.5543 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001982/0.5915, allocations: 163.5 kB / 0.5544 GB, free: 15.13 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.5918, allocations: 110.2 kB / 0.5545 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.072e-05/0.5919, allocations: 36.39 kB / 0.5546 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004591/0.5923, allocations: 66.86 kB / 0.5546 GB, free: 15.06 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.5924, allocations: 30.56 kB / 0.5547 GB, free: 15.02 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.5924, allocations: 3.625 kB / 0.5547 GB, free: 15.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.000324/0.5927, allocations: 116.7 kB / 0.5548 GB, free: 14.99 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.5927, allocations: 77.11 kB / 0.5548 GB, free: 14.89 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.5929, allocations: 154.3 kB / 0.555 GB, free: 14.79 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.5929, allocations: 25.7 kB / 0.555 GB, free: 14.76 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.201e-05/0.5929, allocations: 89.39 kB / 0.5551 GB, free: 14.68 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.593, allocations: 26.77 kB / 0.5551 GB, free: 14.66 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/0.593, allocations: 18.53 kB / 0.5551 GB, free: 14.64 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.5931, allocations: 323.3 kB / 0.5555 GB, free: 14.33 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.147e-05/0.5932, allocations: 25.67 kB / 0.5555 GB, free: 14.33 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.003e-05/0.5933, allocations: 50.7 kB / 0.5555 GB, free: 14.3 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.5934, allocations: 80.5 kB / 0.5556 GB, free: 14.26 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.5934, allocations: 8.875 kB / 0.5556 GB, free: 14.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002253/0.5937, allocations: 110.5 kB / 0.5557 GB, free: 14.22 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.5937, allocations: 5.156 kB / 0.5557 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.5937, allocations: 2.375 kB / 0.5557 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.5937, allocations: 0 / 0.5557 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.381e-05/0.5938, allocations: 16.81 kB / 0.5557 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.5938, allocations: 2.219 kB / 0.5557 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.884e-05/0.5938, allocations: 7.203 kB / 0.5558 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-06/0.5938, allocations: 10.91 kB / 0.5558 GB, free: 14.21 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.42e-05/0.5939, allocations: 115 kB / 0.5559 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.045e-05/0.5939, allocations: 4.875 kB / 0.5559 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/0.5942, allocations: 119.5 kB / 0.556 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.5942, allocations: 0 / 0.556 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5942, allocations: 3.938 kB / 0.556 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.5942, allocations: 0 / 0.556 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.5943, allocations: 157.4 kB / 0.5561 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5943, allocations: 3.531 kB / 0.5561 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.382e-05/0.5944, allocations: 14.34 kB / 0.5562 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.5944, allocations: 6.891 kB / 0.5562 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.5944, allocations: 2.312 kB / 0.5562 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.5944, allocations: 0 / 0.5562 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.5944, allocations: 3.625 kB / 0.5562 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.5947, allocations: 165.9 kB / 0.5563 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.171e-05/0.5948, allocations: 5.25 kB / 0.5563 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.5948, allocations: 5.781 kB / 0.5563 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.139e-05/0.5948, allocations: 0 / 0.5563 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.5949, allocations: 8.328 kB / 0.5564 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.391e-06/0.5949, allocations: 7.062 kB / 0.5564 GB, free: 13.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.517e-05/0.5949, allocations: 114.3 kB / 0.5565 GB, free: 13.72 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5949, allocations: 0 / 0.5565 GB, free: 13.72 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005658/0.5955, allocations: 170.5 kB / 0.5566 GB, free: 13.69 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.001385/0.5969, allocations: 1.01 MB / 0.5576 GB, free: 13.02 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001791/0.5971, allocations: 63.02 kB / 0.5577 GB, free: 13.02 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5971, allocations: 0 / 0.5577 GB, free: 13.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.497e-05/0.5971, allocations: 34.95 kB / 0.5577 GB, free: 13.02 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.5974, allocations: 22.58 kB / 0.5577 GB, free: 13.02 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.5993, allocations: 1.75 MB / 0.5594 GB, free: 11.73 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.884e-05/0.5993, allocations: 70.77 kB / 0.5595 GB, free: 11.66 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.412e-05/0.5994, allocations: 19.06 kB / 0.5595 GB, free: 11.65 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.909e-05/0.5994, allocations: 23.34 kB / 0.5595 GB, free: 11.64 MB / 462.1 MB Notification: Performance of SimCode: time 3.81e-07/0.5994, allocations: 5.141 kB / 0.5596 GB, free: 11.63 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02761/0.627, allocations: 6.574 MB / 0.566 GB, free: 10.66 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.32, allocations: 13.55 kB / 0.566 GB, free: 10.66 MB / 462.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.836590914987028]