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.001917/0.001917, allocations: 119.9 kB / 20.44 MB, free: 1.297 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.00216/0.00216, allocations: 214.5 kB / 23.74 MB, free: 4.527 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.455/1.455, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.001616/0.001616, allocations: 47.92 kB / 377.8 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2368, allocations: 53.36 MB / 431.1 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002426/0.2392, allocations: 1.386 MB / 432.5 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3989/0.6382, allocations: 152.4 MB / 0.5712 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.259e-05/0.6382, allocations: 1.094 kB / 0.5712 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 5.467e-05/0.6383, allocations: 6.188 kB / 0.5712 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001222/0.6395, allocations: 395.8 kB / 0.5716 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.6407, allocations: 0.5126 MB / 0.5721 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.6408, allocations: 74.64 kB / 0.5722 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.979e-05/0.6408, allocations: 10.72 kB / 0.5722 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.334e-05/0.6409, allocations: 34.42 kB / 0.5722 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.732e-05/0.641, allocations: 37.41 kB / 0.5722 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.641, allocations: 6.75 kB / 0.5722 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001911/0.6429, allocations: 1.153 MB / 0.5734 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.66e-05/0.6429, allocations: 17.11 kB / 0.5734 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.996e-05/0.643, allocations: 26.77 kB / 0.5734 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.6444, allocations: 0.6964 MB / 0.5741 GB, free: 12.75 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.6444, allocations: 0 / 0.5741 GB, free: 12.75 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6444, allocations: 0 / 0.5741 GB, free: 12.75 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.6444, allocations: 5.938 kB / 0.5741 GB, free: 12.75 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.0007568/0.6451, allocations: 392 kB / 0.5745 GB, free: 12.42 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.6452, allocations: 9.719 kB / 0.5745 GB, free: 12.42 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.813e-05/0.6452, allocations: 30.75 kB / 0.5745 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004861/0.6457, allocations: 73.97 kB / 0.5746 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.6459, allocations: 142.6 kB / 0.5747 GB, free: 12.24 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.6459, allocations: 12.62 kB / 0.5747 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.6459, allocations: 2.594 kB / 0.5747 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.6461, allocations: 70.44 kB / 0.5748 GB, free: 12.19 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.6461, allocations: 4 kB / 0.5748 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.6461, allocations: 3.562 kB / 0.5748 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.6461, allocations: 3.938 kB / 0.5748 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.409e-05/0.6462, allocations: 39.38 kB / 0.5748 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002127/0.6464, allocations: 169.1 kB / 0.575 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.6467, allocations: 115.3 kB / 0.5751 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.343e-05/0.6468, allocations: 34.36 kB / 0.5752 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005169/0.6473, allocations: 60.14 kB / 0.5752 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.6474, allocations: 36.41 kB / 0.5752 GB, free: 11.9 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.6474, allocations: 0 / 0.5752 GB, free: 11.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003453/0.6477, allocations: 117 kB / 0.5754 GB, free: 11.86 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.6478, allocations: 79.64 kB / 0.5754 GB, free: 11.77 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.6479, allocations: 141.5 kB / 0.5756 GB, free: 11.67 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.6479, allocations: 30.91 kB / 0.5756 GB, free: 11.63 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.648, allocations: 87.98 kB / 0.5757 GB, free: 11.55 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.648, allocations: 24.11 kB / 0.5757 GB, free: 11.54 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.648, allocations: 24.56 kB / 0.5757 GB, free: 11.52 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.6482, allocations: 316.4 kB / 0.576 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.651e-05/0.6482, allocations: 26.23 kB / 0.5761 GB, free: 11.2 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.797e-05/0.6483, allocations: 54.5 kB / 0.5761 GB, free: 11.17 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.6485, allocations: 90.28 kB / 0.5762 GB, free: 11.12 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6485, allocations: 0 / 0.5762 GB, free: 11.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002341/0.6487, allocations: 102.8 kB / 0.5763 GB, free: 11.09 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.6487, allocations: 7.781 kB / 0.5763 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.6487, allocations: 8.75 kB / 0.5763 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.6487, allocations: 1.812 kB / 0.5763 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.706e-05/0.6488, allocations: 16.53 kB / 0.5763 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.6488, allocations: 5.812 kB / 0.5763 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.098e-05/0.6489, allocations: 6.766 kB / 0.5763 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.6489, allocations: 6.75 kB / 0.5763 GB, free: 11.07 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.802e-05/0.6489, allocations: 120.2 kB / 0.5765 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.175e-05/0.649, allocations: 2.625 kB / 0.5765 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.6492, allocations: 119 kB / 0.5766 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.6492, allocations: 0 / 0.5766 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.6492, allocations: 1.094 kB / 0.5766 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.6492, allocations: 3.375 kB / 0.5766 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.6494, allocations: 158.6 kB / 0.5767 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.6494, allocations: 0 / 0.5767 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.113e-05/0.6495, allocations: 12.14 kB / 0.5767 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.6495, allocations: 5.438 kB / 0.5767 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.6495, allocations: 7.125 kB / 0.5768 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.6495, allocations: 2.781 kB / 0.5768 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6495, allocations: 4 kB / 0.5768 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003247/0.6498, allocations: 162.1 kB / 0.5769 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.912e-05/0.6499, allocations: 11.83 kB / 0.5769 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.6499, allocations: 0 / 0.5769 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.312e-05/0.6499, allocations: 4.953 kB / 0.5769 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.65, allocations: 11.58 kB / 0.5769 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.65, allocations: 2.906 kB / 0.5769 GB, free: 10.65 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.002e-05/0.6501, allocations: 112.4 kB / 0.5771 GB, free: 10.57 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6501, allocations: 0 / 0.5771 GB, free: 10.57 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006347/0.6507, allocations: 166.7 kB / 0.5772 GB, free: 10.54 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.001504/0.6522, allocations: 1.017 MB / 0.5782 GB, free: 9.867 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001992/0.6524, allocations: 62.53 kB / 0.5783 GB, free: 9.863 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.6524, allocations: 2.906 kB / 0.5783 GB, free: 9.863 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.526e-05/0.6525, allocations: 27.86 kB / 0.5783 GB, free: 9.863 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.6527, allocations: 18.64 kB / 0.5783 GB, free: 9.863 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.6548, allocations: 1.753 MB / 0.58 GB, free: 8.547 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.6551, allocations: 0.6875 MB / 0.5807 GB, free: 7.852 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.773e-05/0.6552, allocations: 26.73 kB / 0.5807 GB, free: 7.836 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/0.6553, allocations: 24.36 kB / 0.5807 GB, free: 7.828 MB / 462.1 MB Notification: Performance of SimCode: time 6.81e-07/0.6553, allocations: 0 / 0.5807 GB, free: 7.828 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03812/0.6934, allocations: 6.403 MB / 0.587 GB, free: 5.156 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.63, allocations: 9.891 kB / 0.587 GB, free: 5.152 MB / 462.1 MB " [Timeout remaining time 648] (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: 14.131017160136253]