Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 124.7 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 186.9 kB / 20.73 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 225.6 MB / 249.1 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_4_0_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_0_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.001452/0.001452, allocations: 55.92 kB / 365.6 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09449/0.09595, allocations: 52.14 MB / 417.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.00241/0.09836, allocations: 1.372 MB / 419.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3379/0.4362, allocations: 149.5 MB / 0.5553 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.878e-05/0.4363, allocations: 0 / 0.5553 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.928e-05/0.4363, allocations: 7.922 kB / 0.5553 GB, free: 15.56 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001232/0.4376, allocations: 381.4 kB / 0.5557 GB, free: 15.19 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.4388, allocations: 0.5059 MB / 0.5562 GB, free: 14.69 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.4389, allocations: 79.62 kB / 0.5563 GB, free: 14.61 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.637e-05/0.439, allocations: 4 kB / 0.5563 GB, free: 14.61 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.299e-05/0.439, allocations: 31.86 kB / 0.5563 GB, free: 14.57 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.659e-05/0.4391, allocations: 31.89 kB / 0.5563 GB, free: 14.54 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.4391, allocations: 5.031 kB / 0.5563 GB, free: 14.54 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00202/0.4411, allocations: 1.118 MB / 0.5574 GB, free: 13.42 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.625e-05/0.4412, allocations: 15.91 kB / 0.5574 GB, free: 13.4 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.64e-05/0.4412, allocations: 27.86 kB / 0.5575 GB, free: 13.38 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001322/0.4425, allocations: 0.6942 MB / 0.5581 GB, free: 12.68 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.4426, allocations: 0 / 0.5581 GB, free: 12.68 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4426, allocations: 3.938 kB / 0.5581 GB, free: 12.68 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.4426, allocations: 0 / 0.5581 GB, free: 12.68 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.0006476/0.4432, allocations: 466.3 kB / 0.5586 GB, free: 12.18 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.4432, allocations: 12.03 kB / 0.5586 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.39e-05/0.4433, allocations: 30.75 kB / 0.5586 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004732/0.4438, allocations: 83.52 kB / 0.5587 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.4439, allocations: 196.3 kB / 0.5589 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.444, allocations: 7.938 kB / 0.5589 GB, free: 11.81 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.444, allocations: 4 kB / 0.5589 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.4441, allocations: 67.39 kB / 0.559 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.4441, allocations: 0 / 0.559 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.4442, allocations: 7.938 kB / 0.559 GB, free: 11.72 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.4442, allocations: 4 kB / 0.559 GB, free: 11.71 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.4443, allocations: 39.95 kB / 0.559 GB, free: 11.68 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002164/0.4445, allocations: 194.5 kB / 0.5592 GB, free: 11.43 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.4448, allocations: 113.1 kB / 0.5593 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.98e-05/0.4449, allocations: 41.75 kB / 0.5593 GB, free: 11.26 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005203/0.4454, allocations: 133 kB / 0.5595 GB, free: 11.11 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.4454, allocations: 30.56 kB / 0.5595 GB, free: 11.07 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.4454, allocations: 4 kB / 0.5595 GB, free: 11.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003471/0.4458, allocations: 117.5 kB / 0.5596 GB, free: 10.95 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.4458, allocations: 81.11 kB / 0.5597 GB, free: 10.85 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.4459, allocations: 141.8 kB / 0.5598 GB, free: 10.7 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.446, allocations: 29.7 kB / 0.5599 GB, free: 10.66 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.048e-05/0.446, allocations: 84.14 kB / 0.5599 GB, free: 10.58 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/0.446, allocations: 23.8 kB / 0.56 GB, free: 10.55 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/0.4461, allocations: 25.7 kB / 0.56 GB, free: 10.52 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.4462, allocations: 322.8 kB / 0.5603 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.37e-05/0.4463, allocations: 27.91 kB / 0.5603 GB, free: 10.17 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.905e-05/0.4464, allocations: 51.41 kB / 0.5604 GB, free: 10.11 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.4465, allocations: 91.66 kB / 0.5605 GB, free: 10.01 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.4465, allocations: 0 / 0.5605 GB, free: 10.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000255/0.4468, allocations: 109.5 kB / 0.5606 GB, free: 9.895 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.4468, allocations: 7.938 kB / 0.5606 GB, free: 9.887 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.4468, allocations: 5.109 kB / 0.5606 GB, free: 9.883 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.4468, allocations: 0 / 0.5606 GB, free: 9.883 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.943e-05/0.4469, allocations: 15.98 kB / 0.5606 GB, free: 9.867 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.4469, allocations: 4 kB / 0.5606 GB, free: 9.863 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.69e-05/0.447, allocations: 8 kB / 0.5606 GB, free: 9.855 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.447, allocations: 4.5 kB / 0.5606 GB, free: 9.852 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.474e-05/0.4471, allocations: 121.8 kB / 0.5607 GB, free: 9.723 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.256e-05/0.4471, allocations: 7.953 kB / 0.5607 GB, free: 9.715 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002722/0.4474, allocations: 112.2 kB / 0.5608 GB, free: 9.602 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.4474, allocations: 0 / 0.5608 GB, free: 9.602 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.4474, allocations: 0 / 0.5608 GB, free: 9.602 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4474, allocations: 0.5625 kB / 0.5608 GB, free: 9.602 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.4476, allocations: 193.6 kB / 0.561 GB, free: 9.363 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4476, allocations: 0 / 0.561 GB, free: 9.363 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.012e-05/0.4477, allocations: 8.812 kB / 0.561 GB, free: 9.355 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.4477, allocations: 0 / 0.561 GB, free: 9.355 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.4477, allocations: 7.984 kB / 0.561 GB, free: 9.348 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4477, allocations: 0 / 0.561 GB, free: 9.348 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4477, allocations: 0 / 0.561 GB, free: 9.348 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003429/0.448, allocations: 172 kB / 0.5612 GB, free: 9.16 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.094e-05/0.4481, allocations: 93.02 kB / 0.5613 GB, free: 9.051 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.4481, allocations: 4 kB / 0.5613 GB, free: 9.047 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.232e-05/0.4481, allocations: 2 kB / 0.5613 GB, free: 9.047 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.4482, allocations: 7.984 kB / 0.5613 GB, free: 9.039 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.4482, allocations: 4 kB / 0.5613 GB, free: 9.035 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.134e-05/0.4483, allocations: 107.8 kB / 0.5614 GB, free: 8.93 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4483, allocations: 3.938 kB / 0.5614 GB, free: 8.926 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005263/0.4488, allocations: 167.5 kB / 0.5616 GB, free: 8.762 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.001614/0.4504, allocations: 1.028 MB / 0.5626 GB, free: 7.715 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.4506, allocations: 67.89 kB / 0.5626 GB, free: 7.648 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4506, allocations: 0 / 0.5626 GB, free: 7.648 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.7e-05/0.4507, allocations: 27.98 kB / 0.5627 GB, free: 7.621 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.451, allocations: 28.94 kB / 0.5627 GB, free: 7.598 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.4531, allocations: 1.735 MB / 0.5644 GB, free: 5.762 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.4534, allocations: 0.6924 MB / 0.5651 GB, free: 5.043 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.803e-05/0.4534, allocations: 12.05 kB / 0.5651 GB, free: 5.031 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.579e-05/0.4535, allocations: 27.42 kB / 0.5651 GB, free: 5.004 MB / 462.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4535, allocations: 3.938 kB / 0.5651 GB, free: 5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03063/0.4841, allocations: 6.313 MB / 0.5713 GB, free: 14.82 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.934/8.418, allocations: 8.984 kB / 0.5713 GB, free: 14.82 MB / 478.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX.fmu > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 10.718498580157757]