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.001719/0.001719, allocations: 114 kB / 20.43 MB, free: 1.457 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.001534/0.001534, allocations: 214.2 kB / 23.74 MB, free: 4.672 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.375/1.375, allocations: 230.5 MB / 257.4 MB, free: 7.996 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 59.91 kB / 377.8 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2408, allocations: 53.41 MB / 431.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002384/0.2432, allocations: 1.393 MB / 432.6 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3919/0.6351, allocations: 152.4 MB / 0.5713 GB, free: 13.09 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.866e-05/0.6352, allocations: 2.656 kB / 0.5713 GB, free: 13.09 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 5.361e-05/0.6352, allocations: 6.422 kB / 0.5713 GB, free: 13.09 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001256/0.6365, allocations: 393.2 kB / 0.5716 GB, free: 13.01 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.6375, allocations: 0.5167 MB / 0.5721 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.857e-05/0.6376, allocations: 75.88 kB / 0.5722 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.581e-05/0.6376, allocations: 8.125 kB / 0.5722 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.748e-05/0.6377, allocations: 33.28 kB / 0.5723 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.161e-05/0.6378, allocations: 39.72 kB / 0.5723 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.6378, allocations: 2.438 kB / 0.5723 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.6394, allocations: 1.156 MB / 0.5734 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.015e-05/0.6394, allocations: 23.17 kB / 0.5735 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/0.6395, allocations: 24.2 kB / 0.5735 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008368/0.6403, allocations: 0.6937 MB / 0.5742 GB, free: 12.74 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.6403, allocations: 2.438 kB / 0.5742 GB, free: 12.74 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.6403, allocations: 3.938 kB / 0.5742 GB, free: 12.73 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.6403, allocations: 0 / 0.5742 GB, free: 12.73 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.0005746/0.6409, allocations: 386.1 kB / 0.5745 GB, free: 12.41 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.6409, allocations: 9.984 kB / 0.5745 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.729e-05/0.641, allocations: 35.94 kB / 0.5746 GB, free: 12.37 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004052/0.6414, allocations: 74.05 kB / 0.5746 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.6415, allocations: 140.7 kB / 0.5748 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.6415, allocations: 6.844 kB / 0.5748 GB, free: 12.22 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.6416, allocations: 5.75 kB / 0.5748 GB, free: 12.22 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.6417, allocations: 67.91 kB / 0.5749 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.6417, allocations: 2.562 kB / 0.5749 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.6417, allocations: 8.703 kB / 0.5749 GB, free: 12.17 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.6417, allocations: 0 / 0.5749 GB, free: 12.17 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.112e-05/0.6418, allocations: 43.03 kB / 0.5749 GB, free: 12.17 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001951/0.642, allocations: 169.5 kB / 0.5751 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/0.6423, allocations: 111.5 kB / 0.5752 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.058e-05/0.6424, allocations: 39.62 kB / 0.5752 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000449/0.6428, allocations: 57.88 kB / 0.5753 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.6428, allocations: 37 kB / 0.5753 GB, free: 11.89 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.6428, allocations: 0 / 0.5753 GB, free: 11.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.000327/0.6432, allocations: 120.5 kB / 0.5754 GB, free: 11.85 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.6432, allocations: 77.11 kB / 0.5755 GB, free: 11.75 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.6433, allocations: 143 kB / 0.5756 GB, free: 11.66 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.6434, allocations: 25.7 kB / 0.5756 GB, free: 11.62 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.6434, allocations: 88.28 kB / 0.5757 GB, free: 11.54 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.6434, allocations: 28.67 kB / 0.5758 GB, free: 11.52 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.6435, allocations: 21.47 kB / 0.5758 GB, free: 11.51 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.6436, allocations: 315.2 kB / 0.5761 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.429e-05/0.6437, allocations: 29.94 kB / 0.5761 GB, free: 11.19 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.248e-05/0.6438, allocations: 51.06 kB / 0.5762 GB, free: 11.16 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.6439, allocations: 88.64 kB / 0.5762 GB, free: 11.12 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6439, allocations: 0 / 0.5762 GB, free: 11.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002215/0.6441, allocations: 104.6 kB / 0.5763 GB, free: 11.08 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.6441, allocations: 5.375 kB / 0.5763 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.6441, allocations: 0 / 0.5763 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.6442, allocations: 2.625 kB / 0.5763 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.58e-05/0.6442, allocations: 26.56 kB / 0.5764 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.6442, allocations: 4.812 kB / 0.5764 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.682e-05/0.6443, allocations: 7.891 kB / 0.5764 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.882e-06/0.6443, allocations: 5.797 kB / 0.5764 GB, free: 11.06 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.233e-05/0.6444, allocations: 118.5 kB / 0.5765 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.857e-05/0.6444, allocations: 4.812 kB / 0.5765 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/0.6447, allocations: 116.6 kB / 0.5766 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.6447, allocations: 2.562 kB / 0.5766 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.6447, allocations: 4 kB / 0.5766 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.6447, allocations: 96 / 0.5766 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.6448, allocations: 166.1 kB / 0.5768 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.6448, allocations: 1.125 kB / 0.5768 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.081e-05/0.6449, allocations: 12.27 kB / 0.5768 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.6449, allocations: 0 / 0.5768 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.6449, allocations: 7.016 kB / 0.5768 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.6449, allocations: 2.438 kB / 0.5768 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.6449, allocations: 0 / 0.5768 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.6452, allocations: 167.7 kB / 0.577 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.069e-05/0.6452, allocations: 13.05 kB / 0.577 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.6452, allocations: 0 / 0.577 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.196e-05/0.6453, allocations: 2.781 kB / 0.577 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.6453, allocations: 4.297 kB / 0.577 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.6453, allocations: 8.203 kB / 0.577 GB, free: 10.64 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.406e-05/0.6454, allocations: 112.2 kB / 0.5771 GB, free: 10.56 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6454, allocations: 0 / 0.5771 GB, free: 10.56 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000471/0.6459, allocations: 169.4 kB / 0.5773 GB, free: 10.53 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.001255/0.6471, allocations: 1.005 MB / 0.5782 GB, free: 9.863 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.6473, allocations: 65.92 kB / 0.5783 GB, free: 9.855 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.6473, allocations: 0 / 0.5783 GB, free: 9.855 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.246e-05/0.6474, allocations: 33.78 kB / 0.5783 GB, free: 9.855 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.6476, allocations: 17.78 kB / 0.5784 GB, free: 9.855 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.6494, allocations: 1.753 MB / 0.5801 GB, free: 8.539 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.6497, allocations: 0.688 MB / 0.5807 GB, free: 7.844 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.929e-05/0.6498, allocations: 19.03 kB / 0.5808 GB, free: 7.836 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.914e-05/0.6498, allocations: 28.02 kB / 0.5808 GB, free: 7.824 MB / 462.1 MB Notification: Performance of SimCode: time 2.9e-07/0.6498, allocations: 0 / 0.5808 GB, free: 7.824 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03321/0.683, allocations: 6.397 MB / 0.587 GB, free: 5.109 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.38, allocations: 7.266 kB / 0.587 GB, free: 5.105 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.76486912695691]