Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008501/0.0008501, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000818/0.000818, allocations: 157.4 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8409/0.8409, allocations: 173.4 MB / 200.4 MB, free: 9.426 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_4_0_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_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.103e-05/1.213e-05, allocations: 2.281 kB / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001433/0.001445, allocations: 1.319 MB / 319.7 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.105/0.1064, allocations: 127.8 MB / 447.5 MB, free: 4.723 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.131e-05/0.1065, allocations: 4 kB / 447.5 MB, free: 4.719 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.551e-05/0.1065, allocations: 0 / 447.5 MB, free: 4.719 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008558/0.1074, allocations: 250.5 kB / 447.8 MB, free: 4.473 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008537/0.1082, allocations: 417.1 kB / 448.2 MB, free: 4.066 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.506e-05/0.1083, allocations: 55.66 kB / 448.2 MB, free: 4.012 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.146e-05/0.1083, allocations: 7.984 kB / 448.3 MB, free: 4.004 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.79e-05/0.1084, allocations: 31.97 kB / 448.3 MB, free: 3.973 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.704e-05/0.1085, allocations: 35.83 kB / 448.3 MB, free: 3.938 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.1085, allocations: 0 / 448.3 MB, free: 3.938 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008334/0.1093, allocations: 0.5612 MB / 448.9 MB, free: 3.375 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.456e-05/0.1093, allocations: 7.938 kB / 448.9 MB, free: 3.367 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.078e-05/0.1094, allocations: 23.91 kB / 448.9 MB, free: 3.344 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006577/0.11, allocations: 0.5222 MB / 449.4 MB, free: 2.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.11, allocations: 0 / 449.4 MB, free: 2.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.11, allocations: 0 / 449.4 MB, free: 2.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.11, allocations: 0 / 449.4 MB, free: 2.82 MB / 410.7 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.0004736/0.1105, allocations: 361.4 kB / 449.8 MB, free: 2.438 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.1106, allocations: 12.92 kB / 449.8 MB, free: 2.426 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.894e-05/0.1106, allocations: 30.75 kB / 449.8 MB, free: 2.387 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005756/0.1112, allocations: 108.8 kB / 449.9 MB, free: 2.281 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.1113, allocations: 153.7 kB / 450.1 MB, free: 2.105 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.1114, allocations: 11.94 kB / 450.1 MB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.1114, allocations: 3.984 kB / 450.1 MB, free: 2.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.1116, allocations: 99.27 kB / 450.2 MB, free: 1.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.1116, allocations: 0 / 450.2 MB, free: 1.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.1116, allocations: 0 / 450.2 MB, free: 1.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1116, allocations: 0 / 450.2 MB, free: 1.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.1117, allocations: 43.95 kB / 450.2 MB, free: 1.938 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001961/0.1119, allocations: 174.1 kB / 450.4 MB, free: 1.719 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003368/0.1122, allocations: 117.1 kB / 450.5 MB, free: 1.586 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.587e-05/0.1123, allocations: 45.69 kB / 450.6 MB, free: 1.535 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002023/0.1125, allocations: 88.58 kB / 450.7 MB, free: 1.449 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.1125, allocations: 30.56 kB / 450.7 MB, free: 1.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.754e-06/0.1125, allocations: 0 / 450.7 MB, free: 1.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003352/0.1128, allocations: 141.4 kB / 450.8 MB, free: 1.266 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.1129, allocations: 81.05 kB / 450.9 MB, free: 1.168 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.113, allocations: 157.8 kB / 451.1 MB, free: 1.004 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.113, allocations: 29.7 kB / 451.1 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.086e-05/0.1131, allocations: 80.14 kB / 451.2 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.1131, allocations: 27.8 kB / 451.2 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.565e-05/0.1132, allocations: 33.69 kB / 451.2 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.476e-05/0.1132, allocations: 314.8 kB / 451.5 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.351e-05/0.1133, allocations: 27.98 kB / 451.6 MB, free: 488 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.613e-05/0.1134, allocations: 51.72 kB / 451.6 MB, free: 424 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.1135, allocations: 91.58 kB / 451.7 MB, free: 320 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1135, allocations: 0 / 451.7 MB, free: 320 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002103/0.1137, allocations: 125.5 kB / 451.8 MB, free: 188 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.1137, allocations: 8 kB / 451.8 MB, free: 180 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1137, allocations: 160 / 451.8 MB, free: 180 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.1138, allocations: 3.984 kB / 451.8 MB, free: 176 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.056e-05/0.1138, allocations: 31.91 kB / 451.9 MB, free: 144 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.1139, allocations: 3.984 kB / 451.9 MB, free: 140 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.328e-05/0.1139, allocations: 4 kB / 451.9 MB, free: 136 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.1139, allocations: 7.984 kB / 451.9 MB, free: 128 kB / 410.7 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.1382/0.2521, allocations: 121.8 kB / 452 MB, free: 136.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-05/0.2522, allocations: 4.125 kB / 452 MB, free: 136.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005596/0.2527, allocations: 242.5 kB / 452.2 MB, free: 136.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.016e-06/0.2527, allocations: 2.016 kB / 452.2 MB, free: 136.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.2528, allocations: 1.203 kB / 452.2 MB, free: 136.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.2528, allocations: 3.031 kB / 452.3 MB, free: 136.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.2529, allocations: 192.6 kB / 452.4 MB, free: 136.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/0.2529, allocations: 4.562 kB / 452.4 MB, free: 136.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.2531, allocations: 20.17 kB / 452.5 MB, free: 136.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-06/0.2531, allocations: 1.75 kB / 452.5 MB, free: 136.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.2531, allocations: 2.375 kB / 452.5 MB, free: 136.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.2531, allocations: 1.297 kB / 452.5 MB, free: 136.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.2531, allocations: 1.125 kB / 452.5 MB, free: 136.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003291/0.2534, allocations: 191.8 kB / 452.7 MB, free: 136.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5e-05/0.2535, allocations: 18.7 kB / 452.7 MB, free: 136.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.2535, allocations: 4.031 kB / 452.7 MB, free: 136.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.032e-05/0.2536, allocations: 2.906 kB / 452.7 MB, free: 136.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.2536, allocations: 17.52 kB / 452.7 MB, free: 136.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.2536, allocations: 10.25 kB / 452.7 MB, free: 136.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001245/0.2538, allocations: 127.8 kB / 452.8 MB, free: 136.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2538, allocations: 0.5 kB / 452.8 MB, free: 136.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000474/0.2542, allocations: 129.2 kB / 453 MB, free: 136.2 MB / 410.7 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.001011/0.2553, allocations: 0.9355 MB / 453.9 MB, free: 135.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002386/0.2555, allocations: 79.08 kB / 454 MB, free: 135.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2555, allocations: 0.625 kB / 454 MB, free: 135.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.628e-05/0.2556, allocations: 35.41 kB / 454 MB, free: 135.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/0.2558, allocations: 14.05 kB / 454 MB, free: 135.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.2574, allocations: 1.75 MB / 455.8 MB, free: 134.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.265e-05/0.2574, allocations: 73.72 kB / 455.8 MB, free: 134.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003181/0.2578, allocations: 433.9 kB / 456.3 MB, free: 134 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.648e-05/0.2578, allocations: 50.19 kB / 456.3 MB, free: 134 MB / 410.7 MB Notification: Performance of SimCode: time 1.493e-06/0.2579, allocations: 2.438 kB / 456.3 MB, free: 134 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02527/0.2831, allocations: 7.612 MB / 463.9 MB, free: 126.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.627/6.91, allocations: 15.47 kB / 463.9 MB, free: 126.6 MB / 410.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 8.541000523604453]