Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_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.0008034/0.0008034, 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.0007576/0.0007576, allocations: 153.1 kB / 23.93 MB, free: 0.6328 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.8475/0.8475, allocations: 173.4 MB / 200.4 MB, free: 9.418 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.InverseIncompressible_sh_T,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.333e-05/1.5e-05, allocations: 2.281 kB / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001626/0.001641, allocations: 1.315 MB / 319.7 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003524/0.005165, allocations: 3.686 MB / 323.4 MB, free: 1.309 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.092e-05/0.005206, allocations: 7.938 kB / 323.4 MB, free: 1.301 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.053e-05/0.005227, allocations: 3.938 kB / 323.4 MB, free: 1.297 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001144/0.006371, allocations: 302.7 kB / 323.7 MB, free: 1 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008981/0.007269, allocations: 0.521 MB / 324.3 MB, free: 492 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.717e-05/0.007346, allocations: 55.67 kB / 324.3 MB, free: 436 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.324e-05/0.007379, allocations: 4 kB / 324.3 MB, free: 432 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.853e-05/0.007478, allocations: 51.81 kB / 324.4 MB, free: 380 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004942/0.007972, allocations: 359.3 kB / 324.7 MB, free: 20 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.007988, allocations: 4 kB / 324.7 MB, free: 16 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006648/0.008653, allocations: 0.5416 MB / 325.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.008666, allocations: 4 kB / 325.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.417e-05/0.00869, allocations: 15.94 kB / 325.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005124/0.009203, allocations: 486.8 kB / 325.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.009204, allocations: 0 / 325.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.009206, allocations: 0 / 325.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.00921, allocations: 0 / 325.8 MB, free: 14.98 MB / 298.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.0003821/0.009592, allocations: 369.3 kB / 326.1 MB, free: 14.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.009628, allocations: 12.92 kB / 326.1 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.782e-05/0.009656, allocations: 38.73 kB / 326.2 MB, free: 14.53 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.599e-05/0.009682, allocations: 8.891 kB / 326.2 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.009816, allocations: 133.6 kB / 326.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.009827, allocations: 4.359 kB / 326.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.009843, allocations: 4.375 kB / 326.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.009946, allocations: 63.53 kB / 326.4 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.009953, allocations: 0 / 326.4 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.009963, allocations: 7.984 kB / 326.4 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.009967, allocations: 0 / 326.4 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.011e-05/0.01002, allocations: 19.92 kB / 326.4 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001237/0.01014, allocations: 137.7 kB / 326.5 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.01034, allocations: 85.11 kB / 326.6 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.475e-05/0.01037, allocations: 25.77 kB / 326.6 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002393/0.01061, allocations: 119.9 kB / 326.8 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.01063, allocations: 38.5 kB / 326.8 MB, free: 13.78 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.62e-07/0.01063, allocations: 4 kB / 326.8 MB, free: 13.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001844/0.01081, allocations: 81.55 kB / 326.9 MB, free: 13.69 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.01085, allocations: 81.11 kB / 327 MB, free: 13.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.434e-05/0.01091, allocations: 109.8 kB / 327.1 MB, free: 13.47 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.01092, allocations: 25.7 kB / 327.1 MB, free: 13.44 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.901e-05/0.01095, allocations: 92.12 kB / 327.2 MB, free: 13.35 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.01098, allocations: 23.72 kB / 327.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.01101, allocations: 29.7 kB / 327.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.548e-05/0.01108, allocations: 310.8 kB / 327.5 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.346e-05/0.01112, allocations: 19.98 kB / 327.6 MB, free: 12.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.002e-05/0.01116, allocations: 43.67 kB / 327.6 MB, free: 12.9 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.646e-05/0.01123, allocations: 55.42 kB / 327.7 MB, free: 12.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.01124, allocations: 0 / 327.7 MB, free: 12.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001087/0.01135, allocations: 85.48 kB / 327.7 MB, free: 12.75 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.01136, allocations: 4 kB / 327.7 MB, free: 12.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.01136, allocations: 3.938 kB / 327.8 MB, free: 12.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.01138, allocations: 12.05 kB / 327.8 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.938e-05/0.01142, allocations: 12 kB / 327.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.01142, allocations: 4.141 kB / 327.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.722e-05/0.01145, allocations: 15.94 kB / 327.8 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.01146, allocations: 4 kB / 327.8 MB, free: 12.69 MB / 298.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 5.044e-05/0.01151, allocations: 109.8 kB / 327.9 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.01152, allocations: 7.938 kB / 327.9 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/0.01172, allocations: 129.7 kB / 328 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.01173, allocations: 0 / 328 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.01173, allocations: 0 / 328 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.01173, allocations: 4 kB / 328 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.061e-05/0.01181, allocations: 144.7 kB / 328.2 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.01181, allocations: 0 / 328.2 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.216e-05/0.01186, allocations: 8.047 kB / 328.2 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.01186, allocations: 11.92 kB / 328.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.01187, allocations: 0 / 328.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.01187, allocations: 3.984 kB / 328.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01187, allocations: 0 / 328.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.01204, allocations: 149.8 kB / 328.4 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.222e-05/0.01207, allocations: 19.89 kB / 328.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.01208, allocations: 0 / 328.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.767e-05/0.01209, allocations: 4 kB / 328.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.01213, allocations: 11.98 kB / 328.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.01214, allocations: 0 / 328.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.553e-05/0.01217, allocations: 91.27 kB / 328.5 MB, free: 11.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01217, allocations: 0 / 328.5 MB, free: 11.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003017/0.01247, allocations: 131.5 kB / 328.6 MB, free: 11.8 MB / 298.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 (7): * Single equations (assignments): 6 * 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.0007398/0.01321, allocations: 0.8872 MB / 329.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001357/0.01335, allocations: 47.91 kB / 329.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.01335, allocations: 0 / 329.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.995e-05/0.0134, allocations: 31.92 kB / 329.6 MB, free: 10.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.01355, allocations: 10.98 kB / 329.6 MB, free: 10.81 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.01459, allocations: 1.471 MB / 331.1 MB, free: 9.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.607e-05/0.01464, allocations: 75.58 kB / 331.1 MB, free: 9.137 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.473e-05/0.01469, allocations: 35.09 kB / 331.2 MB, free: 9.105 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.068e-05/0.01474, allocations: 24.48 kB / 331.2 MB, free: 9.082 MB / 298.7 MB Notification: Performance of SimCode: time 4e-07/0.01474, allocations: 0 / 331.2 MB, free: 9.082 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01797/0.03271, allocations: 5.162 MB / 336.3 MB, free: 4.074 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.406/6.438, allocations: 10.56 kB / 336.4 MB, free: 4.066 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/InverseIncompressible_sh_T/InverseIncompressible_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_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.04570356104523]