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.0009165/0.0009165, 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.0008189/0.0008189, allocations: 149.1 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.8684/0.8684, allocations: 173.3 MB / 200.4 MB, free: 9.434 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 2.114e-06/2.114e-06, allocations: 3.938 kB / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.401e-05, allocations: 2.281 kB / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002056/0.00208, allocations: 1.311 MB / 319.7 MB, free: 5.039 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.09981/0.1019, allocations: 127.8 MB / 447.5 MB, free: 4.738 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.225e-05/0.1019, allocations: 0 / 447.5 MB, free: 4.738 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.361e-05/0.102, allocations: 7.922 kB / 447.5 MB, free: 4.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00072/0.1027, allocations: 246.5 kB / 447.8 MB, free: 4.488 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006297/0.1033, allocations: 421.8 kB / 448.2 MB, free: 4.078 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.379e-05/0.1034, allocations: 55.66 kB / 448.2 MB, free: 4.023 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.384e-05/0.1034, allocations: 4 kB / 448.3 MB, free: 4.02 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.216e-05/0.1035, allocations: 39.89 kB / 448.3 MB, free: 3.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.432e-05/0.1035, allocations: 19.98 kB / 448.3 MB, free: 3.961 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.1036, allocations: 4 kB / 448.3 MB, free: 3.957 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005894/0.1042, allocations: 0.565 MB / 448.9 MB, free: 3.391 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.1042, allocations: 11.91 kB / 448.9 MB, free: 3.379 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.352e-05/0.1042, allocations: 19.94 kB / 448.9 MB, free: 3.359 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000475/0.1047, allocations: 0.5222 MB / 449.4 MB, free: 2.836 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1047, allocations: 0 / 449.4 MB, free: 2.836 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1047, allocations: 0 / 449.4 MB, free: 2.836 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1047, allocations: 4 kB / 449.4 MB, free: 2.832 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.0003796/0.1051, allocations: 352.7 kB / 449.8 MB, free: 2.461 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.1051, allocations: 12.92 kB / 449.8 MB, free: 2.449 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.777e-05/0.1051, allocations: 38.73 kB / 449.8 MB, free: 2.402 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005538/0.1057, allocations: 108.8 kB / 449.9 MB, free: 2.297 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.1058, allocations: 161.7 kB / 450.1 MB, free: 2.113 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.1058, allocations: 7.938 kB / 450.1 MB, free: 2.105 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.1059, allocations: 4 kB / 450.1 MB, free: 2.102 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.106, allocations: 99.25 kB / 450.2 MB, free: 1.992 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.106, allocations: 0 / 450.2 MB, free: 1.992 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.106, allocations: 0 / 450.2 MB, free: 1.992 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.106, allocations: 4 kB / 450.2 MB, free: 1.988 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.568e-05/0.1061, allocations: 39.95 kB / 450.2 MB, free: 1.949 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.1063, allocations: 174.1 kB / 450.4 MB, free: 1.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.1066, allocations: 129.1 kB / 450.5 MB, free: 1.586 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.029e-05/0.1066, allocations: 33.77 kB / 450.6 MB, free: 1.547 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001552/0.1068, allocations: 88.58 kB / 450.7 MB, free: 1.461 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.1068, allocations: 42.48 kB / 450.7 MB, free: 1.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.1068, allocations: 0 / 450.7 MB, free: 1.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002871/0.1071, allocations: 133.5 kB / 450.8 MB, free: 1.273 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.1071, allocations: 81.11 kB / 450.9 MB, free: 1.176 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.1072, allocations: 149.8 kB / 451.1 MB, free: 1.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.1073, allocations: 33.7 kB / 451.1 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.339e-05/0.1073, allocations: 84.08 kB / 451.2 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.1073, allocations: 27.78 kB / 451.2 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.1074, allocations: 33.69 kB / 451.2 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.1074, allocations: 310.8 kB / 451.5 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.991e-05/0.1075, allocations: 31.97 kB / 451.6 MB, free: 496 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.461e-05/0.1075, allocations: 47.72 kB / 451.6 MB, free: 436 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.1077, allocations: 95.22 kB / 451.7 MB, free: 328 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1077, allocations: 0 / 451.7 MB, free: 328 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001877/0.1079, allocations: 121.9 kB / 451.8 MB, free: 200 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.1079, allocations: 8 kB / 451.8 MB, free: 192 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1079, allocations: 160 / 451.8 MB, free: 192 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1079, allocations: 96 / 451.8 MB, free: 192 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.815e-05/0.108, allocations: 27.95 kB / 451.9 MB, free: 164 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.108, allocations: 7.922 kB / 451.9 MB, free: 156 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.168e-05/0.108, allocations: 12.06 kB / 451.9 MB, free: 144 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.1081, allocations: 11.98 kB / 451.9 MB, free: 132 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 6.029e-05/0.1081, allocations: 117.7 kB / 452 MB, free: 4 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.1374/0.2455, allocations: 6.938 kB / 452 MB, free: 136.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005791/0.2461, allocations: 242.8 kB / 452.3 MB, free: 136.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.2461, allocations: 1.562 kB / 452.3 MB, free: 136.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.2461, allocations: 2.688 kB / 452.3 MB, free: 136.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.2461, allocations: 1.25 kB / 452.3 MB, free: 136.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.2462, allocations: 184.2 kB / 452.4 MB, free: 136.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.2462, allocations: 0.875 kB / 452.4 MB, free: 136.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.2464, allocations: 20.84 kB / 452.5 MB, free: 136.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.2464, allocations: 5.156 kB / 452.5 MB, free: 136.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.2464, allocations: 6.453 kB / 452.5 MB, free: 136.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2464, allocations: 0.5938 kB / 452.5 MB, free: 136.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2464, allocations: 1.922 kB / 452.5 MB, free: 136.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/0.2467, allocations: 185.3 kB / 452.7 MB, free: 136.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.274e-05/0.2467, allocations: 16.09 kB / 452.7 MB, free: 136.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.2468, allocations: 4.422 kB / 452.7 MB, free: 136.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.345e-05/0.2468, allocations: 3.312 kB / 452.7 MB, free: 136.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.2469, allocations: 14.89 kB / 452.7 MB, free: 136.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.2469, allocations: 2.656 kB / 452.7 MB, free: 136.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001043/0.247, allocations: 140.2 kB / 452.8 MB, free: 136.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.247, allocations: 0 / 452.8 MB, free: 136.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004752/0.2475, allocations: 131.7 kB / 453 MB, free: 136.4 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.2485, allocations: 0.9402 MB / 453.9 MB, free: 135.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002179/0.2487, allocations: 74.47 kB / 454 MB, free: 135.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2487, allocations: 0 / 454 MB, free: 135.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.794e-05/0.2488, allocations: 39.45 kB / 454 MB, free: 135.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.249, allocations: 14.97 kB / 454 MB, free: 135.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.2507, allocations: 1.748 MB / 455.8 MB, free: 134.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.092e-05/0.2507, allocations: 69.05 kB / 455.8 MB, free: 134.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003238/0.251, allocations: 437.2 kB / 456.3 MB, free: 134.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.851e-05/0.2511, allocations: 51.08 kB / 456.3 MB, free: 134.2 MB / 410.7 MB Notification: Performance of SimCode: time 4.6e-07/0.2511, allocations: 0 / 456.3 MB, free: 134.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.2743, allocations: 7.612 MB / 463.9 MB, free: 126.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.902/7.177, allocations: 15.78 kB / 463.9 MB, free: 126.9 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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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.csv","/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.9387525934726]