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.001737/0.001737, allocations: 118.2 kB / 18.49 MB, free: 4.566 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.00161/0.00161, allocations: 218.3 kB / 21.46 MB, free: 1.613 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.384/1.384, allocations: 230.4 MB / 254.7 MB, free: 15.02 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="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.001765/0.001765, allocations: 59.91 kB / 373.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09553/0.09729, allocations: 53.37 MB / 427 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002407/0.0997, allocations: 1.387 MB / 428.4 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3453/0.445, allocations: 152.4 MB / 0.5672 GB, free: 6.457 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.949e-05/0.445, allocations: 0 / 0.5672 GB, free: 6.457 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.257e-05/0.445, allocations: 3.938 kB / 0.5672 GB, free: 6.453 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0011/0.4461, allocations: 378.3 kB / 0.5676 GB, free: 6.082 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.4473, allocations: 0.5165 MB / 0.5681 GB, free: 5.57 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.4474, allocations: 75.64 kB / 0.5681 GB, free: 5.496 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.082e-05/0.4474, allocations: 0 / 0.5681 GB, free: 5.496 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.534e-05/0.4475, allocations: 35.84 kB / 0.5682 GB, free: 5.461 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.178e-05/0.4476, allocations: 35.89 kB / 0.5682 GB, free: 5.426 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.4476, allocations: 4 kB / 0.5682 GB, free: 5.422 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001773/0.4494, allocations: 1.13 MB / 0.5693 GB, free: 4.289 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.643e-05/0.4494, allocations: 19.92 kB / 0.5693 GB, free: 4.27 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.056e-05/0.4494, allocations: 27.84 kB / 0.5693 GB, free: 4.242 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009824/0.4504, allocations: 0.6942 MB / 0.57 GB, free: 3.551 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.4504, allocations: 1.031 kB / 0.57 GB, free: 3.551 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4504, allocations: 0 / 0.57 GB, free: 3.551 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.4504, allocations: 3.938 kB / 0.57 GB, free: 3.547 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.0006462/0.4511, allocations: 468.8 kB / 0.5705 GB, free: 3.043 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.4511, allocations: 12.03 kB / 0.5705 GB, free: 3.031 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.434e-05/0.4511, allocations: 192 / 0.5705 GB, free: 3.031 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.912e-05/0.4512, allocations: 34.75 kB / 0.5705 GB, free: 2.988 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004544/0.4516, allocations: 72.8 kB / 0.5706 GB, free: 2.918 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.4518, allocations: 195.8 kB / 0.5708 GB, free: 2.688 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.4518, allocations: 4 kB / 0.5708 GB, free: 2.684 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.4518, allocations: 0 / 0.5708 GB, free: 2.684 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.452, allocations: 73.27 kB / 0.5709 GB, free: 2.602 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.452, allocations: 7.922 kB / 0.5709 GB, free: 2.594 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.452, allocations: 4 kB / 0.5709 GB, free: 2.59 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.452, allocations: 7.938 kB / 0.5709 GB, free: 2.582 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.4521, allocations: 39.97 kB / 0.5709 GB, free: 2.543 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002207/0.4523, allocations: 194.5 kB / 0.5711 GB, free: 2.301 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.4526, allocations: 117.2 kB / 0.5712 GB, free: 2.168 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.318e-05/0.4527, allocations: 33.7 kB / 0.5712 GB, free: 2.129 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004644/0.4532, allocations: 133 kB / 0.5714 GB, free: 1.98 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.4532, allocations: 34.56 kB / 0.5714 GB, free: 1.938 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.4532, allocations: 4 kB / 0.5714 GB, free: 1.934 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.000348/0.4535, allocations: 125.8 kB / 0.5715 GB, free: 1.805 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.4536, allocations: 77.11 kB / 0.5716 GB, free: 1.711 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.4537, allocations: 142.7 kB / 0.5717 GB, free: 1.562 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.4538, allocations: 25.7 kB / 0.5718 GB, free: 1.531 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.4538, allocations: 88.14 kB / 0.5718 GB, free: 1.441 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.4538, allocations: 27.78 kB / 0.5719 GB, free: 1.414 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.4539, allocations: 21.72 kB / 0.5719 GB, free: 1.387 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.454, allocations: 326.7 kB / 0.5722 GB, free: 1.059 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.554e-05/0.4541, allocations: 23.92 kB / 0.5722 GB, free: 1.035 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.092e-05/0.4542, allocations: 47.97 kB / 0.5723 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.4543, allocations: 83.34 kB / 0.5723 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4543, allocations: 0 / 0.5723 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002489/0.4546, allocations: 105.5 kB / 0.5725 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.4546, allocations: 12.61 kB / 0.5725 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-06/0.4546, allocations: 0 / 0.5725 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.4546, allocations: 64 / 0.5725 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.007e-05/0.4547, allocations: 24 kB / 0.5725 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.4547, allocations: 3.938 kB / 0.5725 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.031e-05/0.4547, allocations: 11.94 kB / 0.5725 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.4547, allocations: 0 / 0.5725 GB, free: 0.7227 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.037e-05/0.4548, allocations: 117.8 kB / 0.5726 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.031e-05/0.4549, allocations: 4 kB / 0.5726 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.4551, allocations: 111.3 kB / 0.5727 GB, free: 488 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.4551, allocations: 4.625 kB / 0.5727 GB, free: 484 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.4551, allocations: 0 / 0.5727 GB, free: 484 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.4551, allocations: 11.92 kB / 0.5727 GB, free: 472 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.4553, allocations: 189.5 kB / 0.5729 GB, free: 232 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4553, allocations: 1.438 kB / 0.5729 GB, free: 232 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.887e-05/0.4554, allocations: 11.98 kB / 0.5729 GB, free: 220 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.4554, allocations: 4 kB / 0.5729 GB, free: 216 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.4554, allocations: 4 kB / 0.5729 GB, free: 212 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4554, allocations: 0 / 0.5729 GB, free: 212 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4554, allocations: 1.562 kB / 0.5729 GB, free: 212 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003343/0.4557, allocations: 166 kB / 0.5731 GB, free: 24 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.768e-05/0.4558, allocations: 89.12 kB / 0.5732 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.4558, allocations: 1.5 kB / 0.5732 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.589e-05/0.4559, allocations: 7.984 kB / 0.5732 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.4559, allocations: 7.984 kB / 0.5732 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.4559, allocations: 4 kB / 0.5732 GB, free: 15.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.026e-05/0.456, allocations: 116.3 kB / 0.5733 GB, free: 15.79 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.456, allocations: 4 kB / 0.5733 GB, free: 15.78 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004647/0.4565, allocations: 163.4 kB / 0.5735 GB, free: 15.62 MB / 494.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.001388/0.4579, allocations: 1.007 MB / 0.5745 GB, free: 14.58 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001991/0.4581, allocations: 67.91 kB / 0.5745 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4581, allocations: 0 / 0.5745 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.767e-05/0.4581, allocations: 31.97 kB / 0.5746 GB, free: 14.48 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.4584, allocations: 27.03 kB / 0.5746 GB, free: 14.46 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.4604, allocations: 1.745 MB / 0.5763 GB, free: 12.62 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.4607, allocations: 0.6924 MB / 0.577 GB, free: 11.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.717e-05/0.4607, allocations: 15.98 kB / 0.577 GB, free: 11.88 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.811e-05/0.4608, allocations: 27.42 kB / 0.577 GB, free: 11.86 MB / 494.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4608, allocations: 0 / 0.577 GB, free: 11.86 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.4849, allocations: 6.306 MB / 0.5832 GB, free: 5.684 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.105/8.59, allocations: 34.14 kB / 0.5832 GB, free: 5.656 MB / 494.1 MB " [Timeout remaining time 651] (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: 11.104296009987593]