Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_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.0008508/0.0008508, allocations: 83.64 kB / 21.43 MB, free: 3.137 MB / 18.57 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.003544/0.003544, allocations: 163.6 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8769/0.8769, allocations: 158.6 MB / 186.5 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.InverseIncompressible_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 298.4 MB, free: 3.617 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.291e-05/1.444e-05, allocations: 6.219 kB / 298.4 MB, free: 3.609 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001466/0.001481, allocations: 1.334 MB / 299.8 MB, free: 2.262 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1454/0.1469, allocations: 6.499 MB / 306.3 MB, free: 11.96 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.794e-05/0.147, allocations: 4 kB / 306.3 MB, free: 11.96 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.894e-05/0.147, allocations: 6.469 kB / 306.3 MB, free: 11.95 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001091/0.1481, allocations: 299.8 kB / 306.6 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.1494, allocations: 0.7207 MB / 307.3 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.1495, allocations: 54.47 kB / 307.3 MB, free: 11.53 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.803e-05/0.1496, allocations: 3.516 kB / 307.3 MB, free: 11.53 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.1497, allocations: 49.73 kB / 307.4 MB, free: 11.51 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007367/0.1505, allocations: 366.5 kB / 307.8 MB, free: 11.45 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.1505, allocations: 1.531 kB / 307.8 MB, free: 11.45 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.1515, allocations: 0.7245 MB / 308.5 MB, free: 11.2 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.689e-05/0.1515, allocations: 8.016 kB / 308.5 MB, free: 11.2 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.494e-05/0.1516, allocations: 19.8 kB / 308.5 MB, free: 11.19 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008252/0.1524, allocations: 0.6196 MB / 309.1 MB, free: 10.99 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1524, allocations: 0 / 309.1 MB, free: 10.99 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1524, allocations: 1.375 kB / 309.1 MB, free: 10.99 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1524, allocations: 0 / 309.1 MB, free: 10.99 MB / 282.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.0004708/0.1529, allocations: 393.6 kB / 309.5 MB, free: 10.64 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.1529, allocations: 14.14 kB / 309.5 MB, free: 10.64 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.784e-05/0.1529, allocations: 31.78 kB / 309.6 MB, free: 10.6 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.153, allocations: 11.45 kB / 309.6 MB, free: 10.59 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.1531, allocations: 129.7 kB / 309.7 MB, free: 10.46 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.1532, allocations: 2.688 kB / 309.7 MB, free: 10.46 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.1532, allocations: 1.562 kB / 309.7 MB, free: 10.46 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.1533, allocations: 67.31 kB / 309.8 MB, free: 10.4 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.1533, allocations: 384 / 309.8 MB, free: 10.4 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.1534, allocations: 9.156 kB / 309.8 MB, free: 10.39 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.1534, allocations: 0.6562 kB / 309.8 MB, free: 10.39 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.974e-05/0.1534, allocations: 15.92 kB / 309.8 MB, free: 10.39 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001575/0.1536, allocations: 144.1 kB / 309.9 MB, free: 10.22 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.1539, allocations: 82.97 kB / 310 MB, free: 10.16 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.653e-05/0.1539, allocations: 28.11 kB / 310 MB, free: 10.14 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003815/0.1543, allocations: 122.1 kB / 310.2 MB, free: 10.11 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.1543, allocations: 36.3 kB / 310.2 MB, free: 10.07 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.1543, allocations: 1.031 kB / 310.2 MB, free: 10.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002796/0.1546, allocations: 81.59 kB / 310.3 MB, free: 10.03 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.1546, allocations: 81.95 kB / 310.4 MB, free: 9.93 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.455e-05/0.1547, allocations: 118.6 kB / 310.5 MB, free: 9.82 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.336e-06/0.1547, allocations: 25.7 kB / 310.5 MB, free: 9.789 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.553e-05/0.1547, allocations: 86.11 kB / 310.6 MB, free: 9.703 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.1548, allocations: 25.75 kB / 310.6 MB, free: 9.684 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.1548, allocations: 25.16 kB / 310.6 MB, free: 9.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.803e-05/0.1549, allocations: 314.5 kB / 310.9 MB, free: 9.348 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.086e-05/0.1549, allocations: 15.17 kB / 310.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.08e-05/0.155, allocations: 39.05 kB / 311 MB, free: 9.309 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.1551, allocations: 66.56 kB / 311.1 MB, free: 9.258 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1551, allocations: 0 / 311.1 MB, free: 9.258 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001263/0.1552, allocations: 86.91 kB / 311.1 MB, free: 9.211 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1552, allocations: 4.75 kB / 311.1 MB, free: 9.211 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.1552, allocations: 2 kB / 311.1 MB, free: 9.211 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1552, allocations: 5.219 kB / 311.1 MB, free: 9.207 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.323e-05/0.1553, allocations: 19.3 kB / 311.2 MB, free: 9.203 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.1553, allocations: 1.906 kB / 311.2 MB, free: 9.203 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.481e-05/0.1553, allocations: 11.89 kB / 311.2 MB, free: 9.195 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.1553, allocations: 5.562 kB / 311.2 MB, free: 9.195 MB / 282.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 4.077e-05/0.1554, allocations: 110.6 kB / 311.3 MB, free: 9.082 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.678e-06/0.1554, allocations: 6.266 kB / 311.3 MB, free: 9.078 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.1557, allocations: 128.2 kB / 311.4 MB, free: 9.012 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.1557, allocations: 6.094 kB / 311.4 MB, free: 9.008 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.1557, allocations: 0 / 311.4 MB, free: 9.008 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.1557, allocations: 2.094 kB / 311.4 MB, free: 9.008 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.415e-05/0.1557, allocations: 153 kB / 311.6 MB, free: 8.832 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1557, allocations: 1.281 kB / 311.6 MB, free: 8.832 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.824e-05/0.1558, allocations: 12.52 kB / 311.6 MB, free: 8.832 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1558, allocations: 0.9375 kB / 311.6 MB, free: 8.832 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.1558, allocations: 2.656 kB / 311.6 MB, free: 8.832 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.1558, allocations: 5.219 kB / 311.6 MB, free: 8.828 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1558, allocations: 0 / 311.6 MB, free: 8.828 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.156, allocations: 137 kB / 311.7 MB, free: 8.738 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.26e-05/0.156, allocations: 19.53 kB / 311.8 MB, free: 8.727 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.156, allocations: 1.625 kB / 311.8 MB, free: 8.727 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.895e-05/0.156, allocations: 10.97 kB / 311.8 MB, free: 8.719 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.1561, allocations: 10.94 kB / 311.8 MB, free: 8.715 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-06/0.1561, allocations: 2.766 kB / 311.8 MB, free: 8.715 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.736e-05/0.1561, allocations: 89.73 kB / 311.9 MB, free: 8.637 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1561, allocations: 0 / 311.9 MB, free: 8.637 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004179/0.1565, allocations: 174.5 kB / 312 MB, free: 8.59 MB / 282.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.001066/0.1576, allocations: 0.9773 MB / 313 MB, free: 7.879 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001804/0.1578, allocations: 52.19 kB / 313.1 MB, free: 7.863 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1578, allocations: 0 / 313.1 MB, free: 7.863 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.386e-05/0.1579, allocations: 26.41 kB / 313.1 MB, free: 7.859 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.158, allocations: 13.05 kB / 313.1 MB, free: 7.852 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.1591, allocations: 1.481 MB / 314.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.326e-05/0.1591, allocations: 76.34 kB / 314.7 MB, free: 6.453 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.923e-05/0.1592, allocations: 32.78 kB / 314.7 MB, free: 6.441 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.872e-05/0.1592, allocations: 31.62 kB / 314.7 MB, free: 6.422 MB / 282.7 MB Notification: Performance of SimCode: time 3.71e-07/0.1592, allocations: 0 / 314.7 MB, free: 6.422 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01928/0.1785, allocations: 5.934 MB / 320.7 MB, free: 4 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.782/6.96, allocations: 9.188 kB / 320.7 MB, free: 3.992 MB / 282.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_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_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/InverseIncompressible_sh_T/InverseIncompressible_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.694335421547294]