Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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.001379/0.001379, allocations: 123 kB / 17.79 MB, free: 5.227 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.001646/0.001646, allocations: 203.3 kB / 20.75 MB, free: 2.277 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.418/1.418, allocations: 230.6 MB / 254.1 MB, free: 15.11 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_T,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 55.89 kB / 373 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09212/0.09355, allocations: 53.33 MB / 426.3 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002436/0.09598, allocations: 1.382 MB / 427.7 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3675/0.4635, allocations: 152 MB / 0.5661 GB, free: 7.082 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.048e-05/0.4635, allocations: 0 / 0.5661 GB, free: 7.082 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.436e-05/0.4636, allocations: 0 / 0.5661 GB, free: 7.082 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008214/0.4644, allocations: 237.5 kB / 0.5664 GB, free: 6.855 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009506/0.4653, allocations: 407 kB / 0.5668 GB, free: 6.465 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.656e-05/0.4654, allocations: 55.73 kB / 0.5668 GB, free: 6.41 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.123e-05/0.4655, allocations: 11.97 kB / 0.5668 GB, free: 6.398 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.06e-05/0.4655, allocations: 15.94 kB / 0.5668 GB, free: 6.383 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.906e-05/0.4656, allocations: 31.84 kB / 0.5669 GB, free: 6.352 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.4656, allocations: 4 kB / 0.5669 GB, free: 6.348 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.4668, allocations: 0.6979 MB / 0.5676 GB, free: 5.648 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.4668, allocations: 4 kB / 0.5676 GB, free: 5.645 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.067e-05/0.4669, allocations: 27.84 kB / 0.5676 GB, free: 5.617 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007212/0.4676, allocations: 491.5 kB / 0.5681 GB, free: 5.141 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.4676, allocations: 4 kB / 0.5681 GB, free: 5.137 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4676, allocations: 4 kB / 0.5681 GB, free: 5.133 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.4676, allocations: 3.094 kB / 0.5681 GB, free: 5.133 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.0005908/0.4682, allocations: 438.5 kB / 0.5685 GB, free: 4.656 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.4682, allocations: 8.031 kB / 0.5685 GB, free: 4.648 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.87e-05/0.4683, allocations: 38.69 kB / 0.5685 GB, free: 4.602 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/0.4696, allocations: 108.8 kB / 0.5686 GB, free: 4.496 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.4699, allocations: 231.8 kB / 0.5688 GB, free: 4.23 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.4699, allocations: 0 / 0.5688 GB, free: 4.23 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.4699, allocations: 0 / 0.5688 GB, free: 4.23 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.4701, allocations: 91.33 kB / 0.5689 GB, free: 4.129 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.4702, allocations: 0 / 0.5689 GB, free: 4.129 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.4702, allocations: 0 / 0.5689 GB, free: 4.129 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.4702, allocations: 8 kB / 0.5689 GB, free: 4.121 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00019/0.4704, allocations: 47.89 kB / 0.569 GB, free: 4.074 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002721/0.4706, allocations: 202.9 kB / 0.5692 GB, free: 3.824 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004938/0.4711, allocations: 129.1 kB / 0.5693 GB, free: 3.68 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.4713, allocations: 33.75 kB / 0.5693 GB, free: 3.641 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007627/0.472, allocations: 0.9862 MB / 0.5703 GB, free: 2.434 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.472, allocations: 34.55 kB / 0.5703 GB, free: 2.391 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.472, allocations: 0 / 0.5703 GB, free: 2.391 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005066/0.4726, allocations: 141.4 kB / 0.5705 GB, free: 2.246 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/0.4726, allocations: 81.11 kB / 0.5705 GB, free: 2.148 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.4729, allocations: 149.8 kB / 0.5707 GB, free: 1.992 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.4729, allocations: 29.7 kB / 0.5707 GB, free: 1.957 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.163e-05/0.4729, allocations: 80.14 kB / 0.5708 GB, free: 1.875 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.459e-05/0.473, allocations: 27.78 kB / 0.5708 GB, free: 1.848 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-05/0.473, allocations: 33.69 kB / 0.5709 GB, free: 1.809 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.4732, allocations: 318.8 kB / 0.5712 GB, free: 1.488 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.4733, allocations: 35.97 kB / 0.5712 GB, free: 1.453 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.4734, allocations: 55.34 kB / 0.5712 GB, free: 1.387 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.4737, allocations: 80.34 kB / 0.5713 GB, free: 1.297 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.4737, allocations: 4 kB / 0.5713 GB, free: 1.293 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003719/0.4741, allocations: 125.5 kB / 0.5714 GB, free: 1.164 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.4741, allocations: 4.625 kB / 0.5714 GB, free: 1.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.4741, allocations: 5.125 kB / 0.5715 GB, free: 1.156 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.4741, allocations: 0 / 0.5715 GB, free: 1.156 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.4742, allocations: 24.97 kB / 0.5715 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.4742, allocations: 0 / 0.5715 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.4744, allocations: 12.06 kB / 0.5715 GB, free: 1.121 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.4744, allocations: 8.609 kB / 0.5715 GB, free: 1.113 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 0.0001049/0.4746, allocations: 121.7 kB / 0.5716 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.899e-05/0.4746, allocations: 7.953 kB / 0.5716 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005927/0.4752, allocations: 240.5 kB / 0.5719 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.4752, allocations: 1.5 kB / 0.5719 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.4752, allocations: 0 / 0.5719 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4752, allocations: 0 / 0.5719 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.4754, allocations: 226.8 kB / 0.5721 GB, free: 476 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.4754, allocations: 0 / 0.5721 GB, free: 476 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.4756, allocations: 27.91 kB / 0.5721 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.4756, allocations: 4 kB / 0.5721 GB, free: 444 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.4756, allocations: 0 / 0.5721 GB, free: 444 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4756, allocations: 0 / 0.5721 GB, free: 444 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4756, allocations: 0 / 0.5721 GB, free: 444 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004423/0.4761, allocations: 182.5 kB / 0.5723 GB, free: 240 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.068e-05/0.4762, allocations: 101 kB / 0.5724 GB, free: 120 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.4762, allocations: 0 / 0.5724 GB, free: 120 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.4764, allocations: 4 kB / 0.5724 GB, free: 116 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.4764, allocations: 12.05 kB / 0.5724 GB, free: 104 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.4764, allocations: 8.562 kB / 0.5724 GB, free: 96 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001944/0.4766, allocations: 129.8 kB / 0.5725 GB, free: 15.97 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4766, allocations: 0 / 0.5725 GB, free: 15.97 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004849/0.4771, allocations: 135.6 kB / 0.5726 GB, free: 15.84 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.001263/0.4784, allocations: 0.9096 MB / 0.5735 GB, free: 14.89 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002904/0.4787, allocations: 75.88 kB / 0.5736 GB, free: 14.82 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4787, allocations: 0 / 0.5736 GB, free: 14.82 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.4788, allocations: 36.8 kB / 0.5736 GB, free: 14.79 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.479, allocations: 19.48 kB / 0.5737 GB, free: 14.77 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002758/0.4817, allocations: 1.798 MB / 0.5754 GB, free: 12.87 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.4821, allocations: 0.6846 MB / 0.5761 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005628/0.4826, allocations: 442.9 kB / 0.5765 GB, free: 11.73 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.4828, allocations: 43.39 kB / 0.5765 GB, free: 11.68 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4828, allocations: 3.938 kB / 0.5766 GB, free: 11.68 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03222/0.515, allocations: 6.615 MB / 0.583 GB, free: 5.191 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.792/8.307, allocations: 11.98 kB / 0.583 GB, free: 5.18 MB / 494.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.657095849048346]