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.001777/0.001777, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002298/0.002298, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.496/1.496, allocations: 230.4 MB / 254 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="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.001885/0.001885, allocations: 59.91 kB / 373 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09722/0.09911, allocations: 53.38 MB / 426.3 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.00252/0.1016, allocations: 1.385 MB / 427.7 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3574/0.459, allocations: 152.4 MB / 0.5665 GB, free: 6.648 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.07e-05/0.4591, allocations: 0 / 0.5665 GB, free: 6.648 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.38e-05/0.4591, allocations: 3.984 kB / 0.5665 GB, free: 6.645 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001114/0.4602, allocations: 374.4 kB / 0.5669 GB, free: 6.277 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.4614, allocations: 0.5159 MB / 0.5674 GB, free: 5.766 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.4615, allocations: 75.59 kB / 0.5674 GB, free: 5.691 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.444e-05/0.4616, allocations: 7.969 kB / 0.5674 GB, free: 5.684 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.607e-05/0.4616, allocations: 31.92 kB / 0.5675 GB, free: 5.652 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.151e-05/0.4617, allocations: 35.83 kB / 0.5675 GB, free: 5.617 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.4617, allocations: 9.5 kB / 0.5675 GB, free: 5.609 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001869/0.4636, allocations: 1.13 MB / 0.5686 GB, free: 4.477 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.835e-05/0.4636, allocations: 15.92 kB / 0.5686 GB, free: 4.461 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.399e-05/0.4637, allocations: 27.86 kB / 0.5687 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.4647, allocations: 0.6905 MB / 0.5693 GB, free: 3.746 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.4647, allocations: 7.984 kB / 0.5693 GB, free: 3.738 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4647, allocations: 0 / 0.5693 GB, free: 3.738 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.4647, allocations: 0 / 0.5693 GB, free: 3.738 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.0006521/0.4654, allocations: 466.3 kB / 0.5698 GB, free: 3.234 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.4654, allocations: 12.02 kB / 0.5698 GB, free: 3.223 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.187e-05/0.4655, allocations: 30.75 kB / 0.5698 GB, free: 3.184 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004913/0.4659, allocations: 64.81 kB / 0.5699 GB, free: 3.121 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.4661, allocations: 211.9 kB / 0.5701 GB, free: 2.875 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.4662, allocations: 4 kB / 0.5701 GB, free: 2.871 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.4662, allocations: 0 / 0.5701 GB, free: 2.871 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.4663, allocations: 73.2 kB / 0.5702 GB, free: 2.789 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.4663, allocations: 5.406 kB / 0.5702 GB, free: 2.785 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.4664, allocations: 4 kB / 0.5702 GB, free: 2.781 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.4664, allocations: 0 / 0.5702 GB, free: 2.781 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.4665, allocations: 39.91 kB / 0.5702 GB, free: 2.742 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002283/0.4667, allocations: 198.5 kB / 0.5704 GB, free: 2.496 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000313/0.467, allocations: 109.2 kB / 0.5705 GB, free: 2.371 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.27e-05/0.4671, allocations: 37.64 kB / 0.5705 GB, free: 2.328 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004941/0.4676, allocations: 141 kB / 0.5707 GB, free: 2.172 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.4676, allocations: 34.56 kB / 0.5707 GB, free: 2.129 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.4676, allocations: 4 kB / 0.5707 GB, free: 2.125 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003772/0.468, allocations: 121.8 kB / 0.5708 GB, free: 2 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.4681, allocations: 77.11 kB / 0.5709 GB, free: 1.906 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.4682, allocations: 137.8 kB / 0.571 GB, free: 1.762 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.4682, allocations: 37.64 kB / 0.5711 GB, free: 1.719 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.794e-05/0.4683, allocations: 88.12 kB / 0.5712 GB, free: 1.629 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.4683, allocations: 19.8 kB / 0.5712 GB, free: 1.609 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.4683, allocations: 25.7 kB / 0.5712 GB, free: 1.578 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4685, allocations: 318.8 kB / 0.5715 GB, free: 1.258 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.167e-05/0.4686, allocations: 23.98 kB / 0.5715 GB, free: 1.234 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.143e-05/0.4687, allocations: 55.41 kB / 0.5716 GB, free: 1.168 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.4688, allocations: 79.34 kB / 0.5717 GB, free: 1.078 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4688, allocations: 0 / 0.5717 GB, free: 1.078 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002706/0.4691, allocations: 109.5 kB / 0.5718 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.4691, allocations: 8.625 kB / 0.5718 GB, free: 0.957 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.4691, allocations: 4.062 kB / 0.5718 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.4691, allocations: 0 / 0.5718 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.841e-05/0.4692, allocations: 21.17 kB / 0.5718 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.4692, allocations: 0 / 0.5718 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.232e-05/0.4693, allocations: 11.95 kB / 0.5718 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.4693, allocations: 0 / 0.5718 GB, free: 0.9219 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.592e-05/0.4694, allocations: 117.7 kB / 0.5719 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.325e-05/0.4694, allocations: 7.984 kB / 0.5719 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002678/0.4697, allocations: 116.5 kB / 0.572 GB, free: 0.668 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.4697, allocations: 3.938 kB / 0.572 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.4697, allocations: 0 / 0.572 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.4697, allocations: 4 kB / 0.572 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.4699, allocations: 193.5 kB / 0.5722 GB, free: 432 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4699, allocations: 0.875 kB / 0.5722 GB, free: 432 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.974e-05/0.4699, allocations: 8 kB / 0.5722 GB, free: 424 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.4699, allocations: 4 kB / 0.5722 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.47, allocations: 3.938 kB / 0.5722 GB, free: 416 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.47, allocations: 0 / 0.5722 GB, free: 416 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.47, allocations: 4.875 kB / 0.5723 GB, free: 412 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/0.4703, allocations: 169.8 kB / 0.5724 GB, free: 220 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.98e-05/0.4704, allocations: 89.36 kB / 0.5725 GB, free: 112 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.4704, allocations: 0 / 0.5725 GB, free: 112 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.648e-05/0.4705, allocations: 5 kB / 0.5725 GB, free: 108 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.4705, allocations: 8.047 kB / 0.5725 GB, free: 100 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-06/0.4705, allocations: 7.984 kB / 0.5725 GB, free: 92 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001403/0.4706, allocations: 107.3 kB / 0.5726 GB, free: 15.98 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4706, allocations: 0 / 0.5726 GB, free: 15.98 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005625/0.4712, allocations: 175.4 kB / 0.5728 GB, free: 15.81 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.001483/0.4727, allocations: 1.011 MB / 0.5738 GB, free: 14.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002084/0.4729, allocations: 59.95 kB / 0.5738 GB, free: 14.71 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4729, allocations: 0 / 0.5738 GB, free: 14.71 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.119e-05/0.473, allocations: 27.92 kB / 0.5739 GB, free: 14.68 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.4732, allocations: 30.55 kB / 0.5739 GB, free: 14.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.4754, allocations: 1.741 MB / 0.5756 GB, free: 12.81 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.4757, allocations: 0.6924 MB / 0.5763 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.33e-05/0.4758, allocations: 19.98 kB / 0.5763 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.055e-05/0.4759, allocations: 23.42 kB / 0.5763 GB, free: 12.05 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4759, allocations: 0 / 0.5763 GB, free: 12.05 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03115/0.507, allocations: 6.264 MB / 0.5824 GB, free: 5.906 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.177/8.684, allocations: 15.78 kB / 0.5824 GB, free: 5.891 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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.csv","/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.330908747040667]