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.001476/0.001476, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001665/0.001665, allocations: 210.2 kB / 24.53 MB, free: 4.07 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.338/1.338, allocations: 230.5 MB / 258.2 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 179] 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.00178/0.00178, allocations: 59.89 kB / 378.6 MB, free: 3.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.219, allocations: 53.41 MB / 432 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.00239/0.2214, allocations: 1.389 MB / 433.4 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3603/0.5817, allocations: 152.4 MB / 0.572 GB, free: 13.1 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.658e-05/0.5817, allocations: 0 / 0.572 GB, free: 13.1 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.595e-05/0.5817, allocations: 10.33 kB / 0.572 GB, free: 13.09 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00104/0.5828, allocations: 387.8 kB / 0.5724 GB, free: 13.01 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009756/0.5837, allocations: 0.5203 MB / 0.5729 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.346e-05/0.5838, allocations: 74.86 kB / 0.573 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.448e-05/0.5839, allocations: 11.95 kB / 0.573 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.389e-05/0.5839, allocations: 34.09 kB / 0.573 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.806e-05/0.584, allocations: 35.97 kB / 0.5731 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.584, allocations: 2.031 kB / 0.5731 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.5856, allocations: 1.154 MB / 0.5742 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.38e-05/0.5856, allocations: 19.41 kB / 0.5742 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.795e-05/0.5856, allocations: 27.62 kB / 0.5742 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007948/0.5864, allocations: 0.6961 MB / 0.5749 GB, free: 12.74 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.5864, allocations: 4 kB / 0.5749 GB, free: 12.73 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.5864, allocations: 2.125 kB / 0.5749 GB, free: 12.73 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.5864, allocations: 0 / 0.5749 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.0005511/0.587, allocations: 387.2 kB / 0.5753 GB, free: 12.41 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.587, allocations: 7.531 kB / 0.5753 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.133e-05/0.587, allocations: 192 / 0.5753 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.996e-05/0.5871, allocations: 39.53 kB / 0.5753 GB, free: 12.37 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004223/0.5875, allocations: 69.7 kB / 0.5754 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.5876, allocations: 146.2 kB / 0.5755 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.5877, allocations: 7.281 kB / 0.5755 GB, free: 12.22 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.5877, allocations: 5.844 kB / 0.5755 GB, free: 12.22 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.5878, allocations: 75.78 kB / 0.5756 GB, free: 12.17 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.5878, allocations: 0 / 0.5756 GB, free: 12.17 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.373e-06/0.5878, allocations: 0 / 0.5756 GB, free: 12.17 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.5878, allocations: 0 / 0.5756 GB, free: 12.17 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.64e-05/0.5879, allocations: 43.84 kB / 0.5757 GB, free: 12.17 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001809/0.5881, allocations: 172.4 kB / 0.5758 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.5884, allocations: 107.3 kB / 0.5759 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.864e-05/0.5884, allocations: 34.75 kB / 0.576 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004288/0.5889, allocations: 66.25 kB / 0.576 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.5889, allocations: 38.12 kB / 0.5761 GB, free: 11.89 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.5889, allocations: 0 / 0.5761 GB, free: 11.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003095/0.5892, allocations: 119.8 kB / 0.5762 GB, free: 11.85 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.5893, allocations: 83.67 kB / 0.5763 GB, free: 11.75 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.5894, allocations: 144.1 kB / 0.5764 GB, free: 11.65 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.5894, allocations: 25.7 kB / 0.5764 GB, free: 11.62 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.221e-05/0.5894, allocations: 88.92 kB / 0.5765 GB, free: 11.54 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.5895, allocations: 21.7 kB / 0.5765 GB, free: 11.52 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.5895, allocations: 23.64 kB / 0.5765 GB, free: 11.5 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.5896, allocations: 327.1 kB / 0.5769 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.841e-05/0.5897, allocations: 22.78 kB / 0.5769 GB, free: 11.18 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.013e-05/0.5897, allocations: 49.5 kB / 0.5769 GB, free: 11.15 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.5899, allocations: 83.36 kB / 0.577 GB, free: 11.11 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.5899, allocations: 3.516 kB / 0.577 GB, free: 11.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002184/0.5901, allocations: 105.1 kB / 0.5771 GB, free: 11.07 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.5901, allocations: 5.406 kB / 0.5771 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.5901, allocations: 2.562 kB / 0.5771 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.5901, allocations: 0 / 0.5771 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.467e-05/0.5902, allocations: 22.31 kB / 0.5771 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.5902, allocations: 2.625 kB / 0.5771 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.092e-05/0.5902, allocations: 15.92 kB / 0.5772 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.5903, allocations: 2.531 kB / 0.5772 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 7.645e-05/0.5903, allocations: 122.8 kB / 0.5773 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.832e-05/0.5904, allocations: 5.031 kB / 0.5773 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002222/0.5906, allocations: 110.4 kB / 0.5774 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.5906, allocations: 2.469 kB / 0.5774 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.5906, allocations: 0 / 0.5774 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.5906, allocations: 5 kB / 0.5774 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.5907, allocations: 163.1 kB / 0.5775 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5907, allocations: 48 / 0.5775 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.339e-05/0.5908, allocations: 16.58 kB / 0.5776 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.5908, allocations: 0 / 0.5776 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.5908, allocations: 9.75 kB / 0.5776 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.5908, allocations: 0 / 0.5776 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.5908, allocations: 3 kB / 0.5776 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002931/0.5911, allocations: 162.9 kB / 0.5777 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.899e-05/0.5912, allocations: 11.06 kB / 0.5777 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.5912, allocations: 1.781 kB / 0.5777 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.052e-05/0.5912, allocations: 2.781 kB / 0.5777 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.094e-05/0.5912, allocations: 4.875 kB / 0.5778 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.5913, allocations: 5.938 kB / 0.5778 GB, free: 10.64 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.034e-05/0.5913, allocations: 113.2 kB / 0.5779 GB, free: 10.56 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5913, allocations: 0 / 0.5779 GB, free: 10.56 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004807/0.5918, allocations: 169.6 kB / 0.578 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.001256/0.5931, allocations: 1.009 MB / 0.579 GB, free: 9.859 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001763/0.5932, allocations: 59.83 kB / 0.5791 GB, free: 9.855 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5932, allocations: 128 / 0.5791 GB, free: 9.855 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.747e-05/0.5933, allocations: 38.97 kB / 0.5791 GB, free: 9.848 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.5935, allocations: 27.78 kB / 0.5791 GB, free: 9.844 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.5953, allocations: 1.743 MB / 0.5808 GB, free: 8.539 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.5956, allocations: 0.6943 MB / 0.5815 GB, free: 7.84 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.576e-05/0.5957, allocations: 22.03 kB / 0.5815 GB, free: 7.828 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.567e-05/0.5957, allocations: 21.44 kB / 0.5816 GB, free: 7.82 MB / 462.1 MB Notification: Performance of SimCode: time 4.11e-07/0.5957, allocations: 1.094 kB / 0.5816 GB, free: 7.82 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0278/0.6235, allocations: 6.423 MB / 0.5878 GB, free: 5.09 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/11.07, allocations: 12.58 kB / 0.5878 GB, free: 5.082 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.488377387984656]