Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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.001243/0.001243, allocations: 120.1 kB / 18.5 MB, free: 4.535 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.001303/0.001303, allocations: 222.3 kB / 21.46 MB, free: 1.582 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.396/1.396, allocations: 230.4 MB / 254.7 MB, free: 15.01 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_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 59.91 kB / 373.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09849/0.1004, allocations: 53.38 MB / 427.1 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.0025/0.1029, allocations: 1.372 MB / 428.4 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3526/0.4555, allocations: 152 MB / 0.5669 GB, free: 6.754 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.686e-05/0.4556, allocations: 4 kB / 0.5669 GB, free: 6.75 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.621e-05/0.4556, allocations: 11.92 kB / 0.5669 GB, free: 6.738 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008122/0.4564, allocations: 238.8 kB / 0.5671 GB, free: 6.504 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009858/0.4574, allocations: 402.1 kB / 0.5675 GB, free: 6.117 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000103/0.4575, allocations: 55.67 kB / 0.5675 GB, free: 6.062 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.413e-05/0.4575, allocations: 4 kB / 0.5675 GB, free: 6.059 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.258e-05/0.4576, allocations: 23.91 kB / 0.5676 GB, free: 6.035 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.827e-05/0.4576, allocations: 27.91 kB / 0.5676 GB, free: 6.008 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.4577, allocations: 9.312 kB / 0.5676 GB, free: 6 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.4588, allocations: 0.6979 MB / 0.5683 GB, free: 5.301 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.003e-05/0.4588, allocations: 0 / 0.5683 GB, free: 5.301 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.622e-05/0.4588, allocations: 35.78 kB / 0.5683 GB, free: 5.266 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007196/0.4596, allocations: 492.1 kB / 0.5688 GB, free: 4.789 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.4596, allocations: 0 / 0.5688 GB, free: 4.789 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4596, allocations: 0 / 0.5688 GB, free: 4.789 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.4596, allocations: 4 kB / 0.5688 GB, free: 4.785 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.0005838/0.4602, allocations: 442.5 kB / 0.5692 GB, free: 4.305 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.4602, allocations: 8.031 kB / 0.5692 GB, free: 4.297 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.969e-05/0.4602, allocations: 4.188 kB / 0.5692 GB, free: 4.293 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.859e-05/0.4602, allocations: 30.75 kB / 0.5693 GB, free: 4.254 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.4615, allocations: 104.8 kB / 0.5694 GB, free: 4.152 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.4618, allocations: 235.4 kB / 0.5696 GB, free: 3.883 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.4618, allocations: 2.625 kB / 0.5696 GB, free: 3.883 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.4618, allocations: 4 kB / 0.5696 GB, free: 3.879 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.462, allocations: 87.95 kB / 0.5697 GB, free: 3.781 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.462, allocations: 0 / 0.5697 GB, free: 3.781 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.4621, allocations: 4 kB / 0.5697 GB, free: 3.777 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.4621, allocations: 0 / 0.5697 GB, free: 3.777 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.4622, allocations: 47.89 kB / 0.5697 GB, free: 3.73 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002693/0.4625, allocations: 211.5 kB / 0.5699 GB, free: 3.473 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004784/0.463, allocations: 117.1 kB / 0.57 GB, free: 3.34 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.4631, allocations: 37.77 kB / 0.5701 GB, free: 3.297 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007561/0.4639, allocations: 0.9939 MB / 0.571 GB, free: 2.082 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.4639, allocations: 30.56 kB / 0.5711 GB, free: 2.043 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.133e-06/0.4639, allocations: 0 / 0.5711 GB, free: 2.043 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.000495/0.4644, allocations: 137.5 kB / 0.5712 GB, free: 1.902 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.4644, allocations: 81.05 kB / 0.5713 GB, free: 1.805 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.4647, allocations: 159.4 kB / 0.5714 GB, free: 1.641 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.4647, allocations: 29.7 kB / 0.5715 GB, free: 1.605 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.4647, allocations: 80.14 kB / 0.5715 GB, free: 1.523 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.894e-05/0.4648, allocations: 27.78 kB / 0.5716 GB, free: 1.496 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.143e-05/0.4648, allocations: 29.7 kB / 0.5716 GB, free: 1.461 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.465, allocations: 322.8 kB / 0.5719 GB, free: 1.137 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.4651, allocations: 27.97 kB / 0.5719 GB, free: 1.109 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.4652, allocations: 57.47 kB / 0.572 GB, free: 1.043 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/0.4655, allocations: 83.7 kB / 0.5721 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4655, allocations: 0 / 0.5721 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003554/0.4658, allocations: 129.4 kB / 0.5722 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.4658, allocations: 8 kB / 0.5722 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.4658, allocations: 0 / 0.5722 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.4659, allocations: 3.938 kB / 0.5722 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.466, allocations: 27.97 kB / 0.5722 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.466, allocations: 0 / 0.5722 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.4662, allocations: 4 kB / 0.5722 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.4662, allocations: 7.984 kB / 0.5722 GB, free: 0.7656 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 9.148e-05/0.4663, allocations: 121.8 kB / 0.5723 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/0.4663, allocations: 7.953 kB / 0.5724 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005829/0.4669, allocations: 241.2 kB / 0.5726 GB, free: 396 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.4669, allocations: 0 / 0.5726 GB, free: 396 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4669, allocations: 0 / 0.5726 GB, free: 396 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4669, allocations: 4 kB / 0.5726 GB, free: 392 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002202/0.4672, allocations: 223.7 kB / 0.5728 GB, free: 120 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4672, allocations: 0 / 0.5728 GB, free: 120 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.4673, allocations: 27.97 kB / 0.5728 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.4673, allocations: 0 / 0.5728 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.4673, allocations: 0 / 0.5728 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.4674, allocations: 4.875 kB / 0.5728 GB, free: 88 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4674, allocations: 1.172 kB / 0.5728 GB, free: 88 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004512/0.4678, allocations: 177.8 kB / 0.573 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.953e-05/0.4679, allocations: 93.08 kB / 0.5731 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.4679, allocations: 7.922 kB / 0.5731 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.4681, allocations: 7.938 kB / 0.5731 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.4681, allocations: 11.98 kB / 0.5731 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.4681, allocations: 4 kB / 0.5731 GB, free: 15.75 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000186/0.4683, allocations: 135.2 kB / 0.5732 GB, free: 15.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4683, allocations: 0 / 0.5732 GB, free: 15.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004503/0.4688, allocations: 131.6 kB / 0.5734 GB, free: 15.49 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001216/0.47, allocations: 0.9096 MB / 0.5743 GB, free: 14.55 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002858/0.4703, allocations: 79.81 kB / 0.5743 GB, free: 14.47 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4703, allocations: 0 / 0.5743 GB, free: 14.47 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.4704, allocations: 35.97 kB / 0.5744 GB, free: 14.44 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.4706, allocations: 15.52 kB / 0.5744 GB, free: 14.43 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/0.4733, allocations: 1.801 MB / 0.5761 GB, free: 12.52 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.4736, allocations: 0.6885 MB / 0.5768 GB, free: 11.81 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000552/0.4741, allocations: 442.9 kB / 0.5772 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.4743, allocations: 47.39 kB / 0.5773 GB, free: 11.33 MB / 494.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4743, allocations: 0 / 0.5773 GB, free: 11.33 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0261/0.5004, allocations: 6.663 MB / 0.5838 GB, free: 4.793 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.08/8.58, allocations: 11.98 kB / 0.5838 GB, free: 4.781 MB / 494.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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.979660267010331]