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.001245/0.001245, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001315/0.001315, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.391/1.391, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.001779/0.001779, allocations: 59.89 kB / 373.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09117/0.09295, allocations: 53.34 MB / 426.7 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002318/0.09527, allocations: 1.385 MB / 428 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3342/0.4295, allocations: 152.4 MB / 0.5668 GB, free: 7.074 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.228e-05/0.4295, allocations: 0 / 0.5668 GB, free: 7.074 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.476e-05/0.4296, allocations: 3.938 kB / 0.5668 GB, free: 7.07 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001223/0.4308, allocations: 387.9 kB / 0.5672 GB, free: 6.695 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.432, allocations: 0.4981 MB / 0.5677 GB, free: 6.199 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.4321, allocations: 79.58 kB / 0.5677 GB, free: 6.121 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.564e-05/0.4321, allocations: 4 kB / 0.5677 GB, free: 6.117 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.03e-05/0.4322, allocations: 39.83 kB / 0.5678 GB, free: 6.078 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.865e-05/0.4323, allocations: 31.91 kB / 0.5678 GB, free: 6.047 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.4323, allocations: 4 kB / 0.5678 GB, free: 6.043 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001853/0.4341, allocations: 1.133 MB / 0.5689 GB, free: 4.91 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.112e-05/0.4342, allocations: 15.92 kB / 0.5689 GB, free: 4.895 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.939e-05/0.4342, allocations: 31.86 kB / 0.569 GB, free: 4.863 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.4352, allocations: 0.6902 MB / 0.5696 GB, free: 4.176 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.4352, allocations: 0 / 0.5696 GB, free: 4.176 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4352, allocations: 0 / 0.5696 GB, free: 4.176 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.4352, allocations: 0 / 0.5696 GB, free: 4.176 MB / 478.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.000653/0.4359, allocations: 474.2 kB / 0.5701 GB, free: 3.664 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.4359, allocations: 12.03 kB / 0.5701 GB, free: 3.652 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.92e-05/0.436, allocations: 34.75 kB / 0.5701 GB, free: 3.609 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004392/0.4364, allocations: 72.8 kB / 0.5702 GB, free: 3.539 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.4366, allocations: 192.3 kB / 0.5704 GB, free: 3.312 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.4366, allocations: 3.938 kB / 0.5704 GB, free: 3.309 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.4366, allocations: 8 kB / 0.5704 GB, free: 3.301 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.4368, allocations: 71.38 kB / 0.5705 GB, free: 3.219 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.4368, allocations: 0 / 0.5705 GB, free: 3.219 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.4368, allocations: 0 / 0.5705 GB, free: 3.219 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.4368, allocations: 8 kB / 0.5705 GB, free: 3.211 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.4369, allocations: 43.91 kB / 0.5705 GB, free: 3.168 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000228/0.4371, allocations: 194.5 kB / 0.5707 GB, free: 2.926 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.4375, allocations: 113.1 kB / 0.5708 GB, free: 2.797 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.794e-05/0.4375, allocations: 37.77 kB / 0.5708 GB, free: 2.754 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005142/0.4381, allocations: 133 kB / 0.571 GB, free: 2.605 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.4381, allocations: 34.56 kB / 0.571 GB, free: 2.562 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.4381, allocations: 3.938 kB / 0.571 GB, free: 2.559 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003491/0.4384, allocations: 125.9 kB / 0.5711 GB, free: 2.43 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.4385, allocations: 77.11 kB / 0.5712 GB, free: 2.336 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.4386, allocations: 142.5 kB / 0.5713 GB, free: 2.188 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.4386, allocations: 25.7 kB / 0.5714 GB, free: 2.156 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.248e-05/0.4387, allocations: 89.64 kB / 0.5714 GB, free: 2.066 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.4387, allocations: 27.78 kB / 0.5715 GB, free: 2.039 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.4388, allocations: 17.72 kB / 0.5715 GB, free: 2.016 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.4389, allocations: 322.8 kB / 0.5718 GB, free: 1.691 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.661e-05/0.439, allocations: 19.98 kB / 0.5718 GB, free: 1.672 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.253e-05/0.4391, allocations: 55.89 kB / 0.5719 GB, free: 1.605 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.4392, allocations: 87.28 kB / 0.572 GB, free: 1.508 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.4392, allocations: 0 / 0.572 GB, free: 1.508 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002602/0.4395, allocations: 111.7 kB / 0.5721 GB, free: 1.395 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.4395, allocations: 8 kB / 0.5721 GB, free: 1.387 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.4395, allocations: 0 / 0.5721 GB, free: 1.387 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.4395, allocations: 0 / 0.5721 GB, free: 1.387 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.596e-05/0.4396, allocations: 20.06 kB / 0.5721 GB, free: 1.367 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.4396, allocations: 7.984 kB / 0.5721 GB, free: 1.359 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.659e-05/0.4396, allocations: 3.953 kB / 0.5721 GB, free: 1.355 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.4396, allocations: 4 kB / 0.5721 GB, free: 1.352 MB / 478.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.285e-05/0.4397, allocations: 125.7 kB / 0.5722 GB, free: 1.219 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.048e-05/0.4398, allocations: 4 kB / 0.5722 GB, free: 1.215 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002509/0.44, allocations: 115.7 kB / 0.5723 GB, free: 1.094 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.44, allocations: 7.984 kB / 0.5723 GB, free: 1.086 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.44, allocations: 0 / 0.5723 GB, free: 1.086 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.44, allocations: 0 / 0.5723 GB, free: 1.086 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.4402, allocations: 185.5 kB / 0.5725 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4402, allocations: 0 / 0.5725 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.522e-05/0.4403, allocations: 11.98 kB / 0.5725 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4403, allocations: 0 / 0.5725 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.4403, allocations: 8 kB / 0.5725 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4403, allocations: 1.25 kB / 0.5725 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4403, allocations: 5.5 kB / 0.5725 GB, free: 0.832 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003447/0.4406, allocations: 173.8 kB / 0.5727 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.81e-05/0.4407, allocations: 85.12 kB / 0.5728 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.4407, allocations: 0 / 0.5728 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.314e-05/0.4408, allocations: 3.984 kB / 0.5728 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.4408, allocations: 8.188 kB / 0.5728 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.4408, allocations: 4.875 kB / 0.5728 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of sorting global known variables: time 9.07e-05/0.4409, allocations: 116.3 kB / 0.5729 GB, free: 420 kB / 478.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4409, allocations: 0 / 0.5729 GB, free: 420 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005133/0.4414, allocations: 163.4 kB / 0.5731 GB, free: 256 kB / 478.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.001527/0.4429, allocations: 1.022 MB / 0.5741 GB, free: 15.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002067/0.4432, allocations: 63.89 kB / 0.5741 GB, free: 15.14 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.4432, allocations: 7.875 kB / 0.5741 GB, free: 15.13 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.336e-05/0.4432, allocations: 27.98 kB / 0.5742 GB, free: 15.11 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.4435, allocations: 27.59 kB / 0.5742 GB, free: 15.09 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.4455, allocations: 1.739 MB / 0.5759 GB, free: 13.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.4458, allocations: 0.6924 MB / 0.5766 GB, free: 12.53 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.678e-05/0.4458, allocations: 23.97 kB / 0.5766 GB, free: 12.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.4459, allocations: 15.44 kB / 0.5766 GB, free: 12.49 MB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4459, allocations: 0 / 0.5766 GB, free: 12.49 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03254/0.4784, allocations: 6.328 MB / 0.5828 GB, free: 6.281 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.803/8.282, allocations: 9.719 kB / 0.5828 GB, free: 6.277 MB / 494.1 MB " [Timeout remaining time 652] (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_2/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_2/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: 10.616328442003578]